cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi_socket hanging when adding handles

From: Michael Wallner <mike_at_iworks.at>
Date: Tue, 01 May 2007 16:12:56 +0200

Daniel Stenberg wrote:
> On Fri, 27 Apr 2007, Michael Wallner wrote:
>
>> I'd really appreciate if someone could have a look & run.
>
> I added a little debug output in the init() function when a new handle
> is added, and I only see the new ones at the start! When handles are
> done and "R:" is shown, init() is not called again (at line 153) so
> there are no new handles/transfers added!?

They're added for me, added fprintf(stderr, "\nA:%d", i) to init():
A: 0
A: 1
A: 2
A: 3
A: 4
A: 5
A: 6
A: 7
A: 8
A: 9######################
R: 0 - no error <http://www.google.com>
A: 10############
R: 0 - no error <http://www.yahoo.com>
A: 11############
R: 0 - no error <http://www.ibm.com>
A: 12##
R: 0 - no error <http://www.oracle.com>
A: 13########
R: 0 - no error <http://www.mysql.com>
A: 14#######
R: 0 - no error <http://www.ripe.net>
A: 15###
R: 0 - no error <http://www.microsoft.com>
A: 16####
R: 0 - no error <http://www.iana.org>
A: 17##########################################
R: 0 - no error <http://www.opensource.org>
A: 18#############~#########################
R: 0 - no error <http://www.amazon.com>
A: 19~~~~~~~~~~~~~~~~~~~

Thanks,

-- 
Michael
Received on 2007-05-01