php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #44231 curl_multi_timeout() not implemented
Submitted: 2008-02-24 01:41 UTC Modified: 2011-04-08 21:27 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: k dot andris at gmail dot com Assigned:
Status: Open Package: cURL related
PHP Version: 5.2.5 OS:
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:
37 + 47 = ?
Subscribe to this entry?

 
 [2008-02-24 01:41 UTC] k dot andris at gmail dot com
Description:
------------
cURL's curl_multi_timeout() is not supported in PHP so there is no way to set a timout for 'multi' type request. Also, curl_multi_select() is not documented enough. what does it return, and how to 'select' it.

Reproduce code:
---------------
try to call it

Expected result:
----------------
call cURL's function


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-24 01:46 UTC] k dot andris at gmail dot com
_select() would be better, since doing this (manual's example):

  do {
    curl_multi_exec($mh, $running);
  } while($running > 0);

Is I think is a waste of CPU cycles.
 [2011-04-08 21:27 UTC] jani@php.net
-Package: Feature/Change Request +Package: cURL related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC