#44231 [Opn]: curl_multi_timeout() not implemented

From: Date: Sun, 24 Feb 2008 01:46:47 +0000
Subject: #44231 [Opn]: curl_multi_timeout() not implemented
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-122628@lists.php.net to get a copy of this message
ID: 44231 User updated by: k dot andris at gmail dot com Reported By: k dot andris at gmail dot com Status: Open Bug Type: cURL related PHP Version: 5.2.5 New Comment: _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. Previous Comments: ------------------------------------------------------------------------ [2008-02-24 01:41:21] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44231&edit=1

« previous php.bugs (#122628) next »