curl-and-python

RE: Function to retrieve mulltiple URLs asyncrously

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 11 Mar 2005 13:08:00 +0100 (CET)

On Fri, 11 Mar 2005, Kjetil Jacobsen wrote:

> while 1:
> ret, num_handles = m.perform()
> if ret != pycurl.E_CALL_MULTI_PERFORM:
> break

> while(CURLM_CALL_MULTI_PERFORM ==
> curl_multi_perform(multi_handle, &still_running));
>
> what am i missing here?

It might very well be me who's missing this here.

When that loop ends, it doesn't signify anything else than that the app should
wait for more action on the socket(s) or wait for a timeout and then do it all
over again. Untill 'still_running' turns zero.

If that was what the python code does, then I was wrong.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-03-11