cURL / Mailing Lists / curl-library / Single Mail


Re: multi_socket race conditions?

From: Michael Wallner <>
Date: Sat, 26 May 2007 09:43:45 +0200

Daniel Stenberg wrote:
> On Fri, 11 May 2007, Michael Wallner wrote:
>> Attached program should prove what I'm talking about.
> That program uses this "illegal" code flow:

Okay, works fine now. The multi_socket API and libevent
seem to be delicate to work with. I suggest adding something

Remember to call curl_multi_socket_all() after curl_multi_add_handle()
if a curl_multi_socket function had already been called.

at an appropriate place in the manpages.


Received on 2007-05-26