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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Fri Apr 26 21:01:29 2024 UTC