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: Fri, 12 May 2006 09:35:01 -0700

Bugs item #1487535, was opened at 2006-05-12 09:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
Status: Open
Resolution: None
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().

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET