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
 [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

Pull Requests

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 Nov 21 15:01:30 2024 UTC