cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1487535 ] socks4 socks5 don't use connect timeout.

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 15 May 2006 08:10:18 -0700

Bugs item #1487535, was opened at 2006-05-12 18:34
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1487535&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: bad behaviour
>Status: Closed
Resolution: Later
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: socks4 socks5 don't use connect timeout.

Initial Comment:
Hi, my mail is kir_at_tehn.ru

try something like:
$ curl --connect-timeout 3 --socks5 'google.com:80'
'http://google.com'

There is no timeout handling code in the
ConnectPlease() function. Curl hang forever (40 min and
more...), if proxy does not respond on initial socks
request in handleSock5Proxy() or handleSock4Proxy().

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

Comment By: Daniel Stenberg (bagder)
Date: 2006-05-15 00:51

Message:
Logged In: YES
user_id=1110

Yes, this is a known flaw. I've now added a mention of it in
the KNOWN_BUGS document.

I don't have any SOCKS proxies to test against and I don't
particularly have any motivation to fix this myself. I will
of course appreciate if someone fixes this.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1487535&group_id=976
Received on 2006-05-15

These mail archives are generated by hypermail.

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

File upload with ASP.NET