Bug #81333 [NEW]: curl_multi_select() not blocking

From: Date: Fri, 06 Aug 2021 01:26:30 +0000
Subject: Bug #81333 [NEW]: curl_multi_select() not blocking
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235624@lists.php.net to get a copy of this message
From: gib-o-master at mail dot ru Operating system: win2008r2 PHP version: 8.1.0beta2 Package: *Network Functions Bug Type: Bug Bug description:curl_multi_select() not blocking 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 bug report at https://bugs.php.net/bug.php?id=81333&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81333&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81333&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81333&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81333&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81333&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81333&r=support Expected behavior: https://bugs.php.net/fix.php?id=81333&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81333&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81333&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81333&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81333&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81333&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81333&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81333&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81333&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81333&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81333&r=mysqlcfg

« previous php.bugs (#235624) next »