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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: k dot andris at gmail dot com
New email:
PHP Version: OS:

 

 [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: Mon Nov 04 10:01:29 2024 UTC