Bug #63411 [NoF->ReO]: curl_multi_select() returns invalid value
| From: | cmb@php.net | Date: | Fri, 03 Aug 2018 15:06:36 +0000 |
| Subject: | Bug #63411 [NoF->ReO]: curl_multi_select() returns invalid value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216562@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63411&edit=1
ID: 63411
Updated by: cmb@php.net
Reported by: marcel at silverstreet dot com
Summary: curl_multi_select() returns invalid value
-Status: No Feedback
+Status: Re-Opened
Type: Bug
Package: cURL related
Operating System: CentOS 6.3
PHP Version: 5.3.18
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
Re-opening, since feedback has been given long ago.
See also bug #76480.
Previous Comments:
------------------------------------------------------------------------
[2018-08-03 15:04:34] cmb@php.net
Related To: Bug #70425
------------------------------------------------------------------------
[2016-01-28 14:41:57] nemanjan00 at gmail dot com
I also have this problem on arch linux.
$ php -v
PHP 7.0.2 (cli) (built: Jan 6 2016 11:50:59) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
curl_multi_select() always return -1
------------------------------------------------------------------------
[2015-05-18 09:53:32] public-mail at alekciy dot ru
I confirm to https (http OK). curl_multi_select() always and immediately return -1. Env:
test:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
test:~$ php -v
PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
test:~$ curl -V
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp
smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
------------------------------------------------------------------------
[2013-06-05 19:40:01] yang dot phpbugs at mailnull dot com
I'm also finding this to be breaking various libraries including JAXL.
------------------------------------------------------------------------
[2013-03-13 12:14:39] quipo@php.net
What's the point of a select() call that doesn't block?
The whole point of curl_multi_select is to block until either there's some
activity on the socket, or the timeout is reached.
The curl_multi_select() call now returns immediately (with -1), without waiting
for the timeout, in all our use cases too, making it useless.
Why was the behaviour changed in the first place? Is it possible to revert?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63411
--
Edit this bug report at https://bugs.php.net/bug.php?id=63411&edit=1