|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58290 Add a customizable timeout for HttpRequestPool::socketSelect
Submitted: 2008-07-26 23:25 UTC Modified: 2008-12-05 04:46 UTC
From: jasonp at cablemo dot com Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.2.4 OS: Ubuntu Linux current
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jasonp at cablemo dot com
New email:
PHP Version: OS:


 [2008-07-26 23:25 UTC] jasonp at cablemo dot com
When using HttpRequestPool::socketSelect the function will potentially block for one second. The timeout is not customizable. 

In the source file http_request_pool_api.c 

the current timeout is defined by the function curl_multi_timeout if that call fails it defaults to 1 sec 0 usecs. 

Despite having an appropriate curl lib installed 7.2.18 it always seems to fallback on the default, which is one second. I don't know libcurl well enough to know if this is a bug or if it is something that can be improved upon. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-05 04:46 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 12:01:29 2024 UTC