curl-library
Re: Question on how I should use curl_multi_perform
Date: Thu, 14 Jan 2010 19:12:58 +0100 (CET)
On Thu, 14 Jan 2010, CP YEH wrote:
> I have a question on how I should use curl_multi_perform(). I copied the
> code from the web to use multi form as follows. Every now and then I noticed
> that my application sort of hangs so when I straced it, I found that it
> keeps calling select and gets timeout and it seems to me that the the code
> never gets to break out the following while loop.
Well, that sounds like a stalled transfer. What protocol are you using? What
libcurl version on what platform?
> So I was wondering if there is anything I should add to prevent such
> situations. select() is returning zero so I was not sure what else I
> should check.
That's a timeout which means nothing happened on the sockets that are being
monitored...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-01-14