php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54067 curl_multi_exec Timeouts
Submitted: 2011-02-22 02:03 UTC Modified: 2014-12-30 10:41 UTC
From: ardn0001 at hotmail dot com Assigned:
Status: No Feedback Package: IIS related
PHP Version: 5.2.17 OS: Win7&XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
48 - 47 = ?
Subscribe to this entry?

 
 [2011-02-22 02:03 UTC] ardn0001 at hotmail dot com
Description:
------------
Using a mayor version than 5.2.10 under IIS the function curl_multi_exec timeouts, 
just in IIS, I was testing a library twitter-async, I tried it on Apache and it 
works fine. (The script works great with version 5.2.10)

Test script:
---------------
https://github.com/jmathai/twitter-async/issues/closed#issue/84
EpiCurl.php, Line: 84

          do{
            $this->execStatus = curl_multi_exec($this->mc, $this->running);
            usleep(intval($innerSleepInt));
            $innerSleepInt = intval(max(1, ($innerSleepInt*$this->sleepIncrement)));
          }while($this->execStatus==CURLM_CALL_MULTI_PERFORM);


Expected result:
----------------
Array of results not a timeout

Actual result:
--------------
Timeout

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-13 00:52 UTC] yohgaki@php.net
-Status: Open +Status: Feedback
 [2014-07-13 00:52 UTC] yohgaki@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2014-12-30 10:41 UTC] 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 "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC