Bug->Req #81333 [Opn]: curl_multi_select() not blocking
| From: | cmb@php.net | Date: | Fri, 06 Aug 2021 08:37:40 +0000 |
| Subject: | Bug->Req #81333 [Opn]: curl_multi_select() not blocking | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235625@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81333&edit=1
ID: 81333
Updated by: cmb@php.net
Reported by: gib-o-master at mail dot ru
Summary: curl_multi_select() not blocking
Status: Open
-Type: Bug
+Type: Feature/Change Request
Package: cURL related
Operating System: win2008r2
PHP Version: 8.1.0beta2
Block user comment: N
Private report: N
New Comment:
Doesn't look like a bug to me; changing to feature request.
Previous Comments:
------------------------------------------------------------------------
[2021-08-06 01:26:30] gib-o-master at mail dot ru
Description:
------------
current implementation:
https://github.com/php/php-src/blob/1cf4fb739f7a4fa8404a4c0958f13d04eae519d4/ext/curl/multi.c#L185
https://curl.se/libcurl/c/curl_multi_wait.html
says:
If no extra file descriptors are provided and libcurl has no file descriptor to offer to wait for,
this function will return immediately. (Try curl_multi_poll instead if you rather avoid this
behavior.)
https://curl.se/libcurl/c/curl_multi_poll.html
promises blocking behavior and cleaner syntax, so, maybe replace?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81333&edit=1