Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23814 invoked by uid 1010); 17 Mar 2004 15:48:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23790 invoked from network); 17 Mar 2004 15:48:19 -0000 Received: from unknown (HELO mail.mbobo.org) (213.133.123.182) by pb1.pair.com with SMTP; 17 Mar 2004 15:48:19 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.mbobo.org (Postfix) with ESMTP id C17775746B7; Wed, 17 Mar 2004 16:48:18 +0100 (CET) Received: from mail.mbobo.org ([127.0.0.1]) by localhost (debian [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11832-06; Wed, 17 Mar 2004 16:48:17 +0100 (CET) Received: from [192.168.1.100] (ip216-179-74-133.cust.bestweb.net [216.179.74.133]) by mail.mbobo.org (Postfix) with ESMTP id 49919574639; Wed, 17 Mar 2004 16:48:17 +0100 (CET) In-Reply-To: <4058407F.12039.280529@localhost> References: <4058407F.12039.280529@localhost> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <80DE0F5F-782A-11D8-BBCF-000A95E073A0@php.net> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Wed, 17 Mar 2004 10:48:15 -0500 To: jason@neodisco.com X-Mailer: Apple Mail (2.613) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at mbobo.org Subject: Re: [PHP-DEV] curl-multi-info-read not functioning From: sterling@php.net (Sterling Hughes) curl_multi_info_read() is currently not working. I am planning on getting it working before php5, andi allowing (*), although I don't have any specific timeframe. You can use $still_running returned from curl_multi_exec (or perform, i can't remember what i called the php version) to spawn new connections if you like... -Sterling (*) It shouldn't hold up the release, but I think it should be allowed as a bug fix, since its currently there, just not implemented, and its important to the multi interface. On Mar 17, 2004, at 12:11 AM, jason@neodisco.com wrote: > Hello! > > I am writing a php-cgi server, using curl-multi. It needs to start a > bunch of curl > 'threads', and steadily process the results of finished 'threads' and > start new ones in > their place. > > It seems to be working other than curl_multi_info_read() - this > function does not > return any data so I cannot see which curl threads have finished and > are ready for > processing. > > Looking at the curl.haxx.se curl-lib docs, it doesn't look too > complicated (I'm not a C > programmer though!) to implement, seeing as everything else is > working. Perhaps I > have missed something entirely. > > I assume it is the same problem as mentioned here:? > > http://marc.theaimsgroup.com/?l=php-dev&m=104791992407964&w=2 > > Thank you in advance for any help or suggestions you can offer, or > perhaps even an > ETA on when this function might be finished so I can either wait, or > skin the cat > another way. > > Warm regards, > > Jason