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-2784055 ] connect race with multi and socks proxy

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 30 Apr 2009 07:51:11 +0000

Bugs item #2784055, was opened at 2009-04-30 02:11
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2784055&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
Private: No
Submitted By: Constantine Sapuntzakis (csapuntz)
Assigned to: Daniel Stenberg (bagder)
Summary: connect race with multi and socks proxy

Initial Comment:
Symptom: connections through SOCKS proxy fail when using multi interface - especially SOCKS4A.

Problem: socket is being used by Curl_SOCKS4 before it is connected

Solution: block on connect

Seen on Windows.

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

>Comment By: Daniel Stenberg (bagder)
Date: 2009-04-30 09:51

Message:
Your patch makes the connect phase blocking. I don't see why that is
necessary. libcurl should simply proceed as usual until connected, why is
using a (socks) proxy any different that any other proxy or connection?

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

Comment By: Constantine Sapuntzakis (csapuntz)
Date: 2009-04-30 02:12

Message:
See attached patch. Not all connections fail - some succeed.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2784055&group_id=976
Received on 2009-04-30

These mail archives are generated by hypermail.

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

File upload with ASP.NET