cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3414085 ] Infinite loop in Curl_setup_conn

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 26 Sep 2011 18:03:52 +0200

Bugs item #3414085, was opened at 2011-09-26 18:03
Message generated for change (Tracker Item Submitted) made by marcelraad
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3414085&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: hang
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marcel Raad (marcelraad)
Assigned to: Daniel Stenberg (bagder)
Summary: Infinite loop in Curl_setup_conn

Initial Comment:
I'm using libcurl 7.22.0 and an HTTP proxy which needs authentication. CURLOPT_CONNECT_ONLY is set to true and CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT are set to 5 seconds.

Curl_protocol_connect somehow sets conn->bits.proxy_connect_closed to TRUE. As more than 5 seconds have passed, ConnectPlease now always sets connected to FALSE and returns CURLE_OPERATION_TIMEDOUT, so Curl_protocol_connect never gets called again and conn->bits.proxy_connect_closed remains TRUE, resulting in an endless loop.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3414085&group_id=976
Received on 2011-09-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET