Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

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

From: <>
Date: Sun, 14 May 2006 15:51:41 -0700

Bugs item #1487535, was opened at 2006-05-12 18:34
Message generated for change (Comment added) made by bagder
You can respond by visiting:

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: Open
>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

try something like:
$ curl --connect-timeout 3 --socks5 ''

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

Logged In: YES

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:
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