Bug #63411 [Com]: curl_multi_select() returns invalid value

From: Date: Thu, 28 Jan 2016 14:41:58 +0000
Subject: Bug #63411 [Com]: curl_multi_select() returns invalid value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198948@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 Comment by: nemanjan00 at gmail dot com Reported by: marcel at silverstreet dot com Summary: curl_multi_select() returns invalid value Status: No Feedback 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: 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 Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2013-02-18 00:36:04] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2012-12-31 23:04:18] mail+php at requinix dot net Related To: Bug #63842 ------------------------------------------------------------------------ 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

« previous php.bugs (#198948) next »