Bug #76480 [Com]: Use curl_multi_wait() so that timeouts are respected
| From: | php at kanariepiet dot com | Date: | Thu, 22 Nov 2018 13:54:02 +0000 |
| Subject: | Bug #76480 [Com]: Use curl_multi_wait() so that timeouts are respected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218085@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76480&edit=1
ID: 76480
Comment by: php at kanariepiet dot com
Reported by: tstarling@php.net
Summary: Use curl_multi_wait() so that timeouts are respected
Status: Closed
Type: Bug
Package: cURL related
Operating System: Linux
PHP Version: 7.3Git-2018-06-15 (Git)
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
This has been fixed in PHP 7.1.23 and 7.2.11.
Please note the patch changes the behaviour of curl_multi_select(). Previously curl_multi_select()
would return -1 if cURL has no open file descriptors. In the new situation (using curl_multi_wait()
with libcurl 7.28 or higher) curl_multi_select() will return 0 if cURL has no open file descriptors.
Previous Comments:
------------------------------------------------------------------------
[2018-10-18 10:32:58] nikic@php.net
Related To: Bug #77030
------------------------------------------------------------------------
[2018-10-12 15:20:11] nikic@php.net
@mimipim: PHP 5.6 (and PHP 7.0) are no longer actively supported. As this fix is not
security-related, it is not eligible to land in PHP 5.6. Please find more information on supported
PHP versions at http://php.net/supported-versions.php.
As security support for PHP 5.6 will end in less than two months, you are strongly encouraged to
upgrade to at least PHP 7.1.
------------------------------------------------------------------------
[2018-10-12 15:16:55] spam2 at rhsoft dot net
PHP5 is dead
------------------------------------------------------------------------
[2018-10-12 15:04:18] mimipim at abv dot bg
Please push this fix for PHP 5.6 too!
------------------------------------------------------------------------
[2018-09-18 01:45:16] pierrick@php.net
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
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=76480
--
Edit this bug report at https://bugs.php.net/bug.php?id=76480&edit=1