cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: https via proxy may stuck when using multi interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 18 Jan 2008 22:51:27 +0100 (CET)

On Fri, 18 Jan 2008, Lau, Hang Kin wrote:

> I believe I found something that may be causing the problem:
>
> In multi_getsock(), fdset is not added appropriately for state
> CURLM_STATE_WAITPROXYCONNECT. Thus if we are in the WAITPROXYCONNECT state,
> the file descriptors may not be added to the FD_SET when we call
> curl_multi_fdset(), causing curl to stuck even there are something to read
> from the proxy server.

Whoa! Now that's quite a bad bug and indeed a good find! I'm glad it also made
your application happy!

Thanks a lot, this fix was committed just now.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-18