|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3566860 ] parse_proxy interprets "socks://x" as http proxy
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 13 Sep 2012 14:00:13 -0700
Bugs item #3566860, was opened at 2012-09-11 20:08
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Selected socks proxy in Google's Chrome browser. Resulting in the following environment variables:
NO_PROXY=localhost,127.0.0.0/8
The function parse_proxy() in lib/url.c parses as follows:
/* Parse the protocol part if present */
The unfortunate result is that "socks://x" is interpreted as an http proxy resulting in a failure to provide data (error code 52).
I suspect an acceptable default behavior for this tag is a final else if BEFORE defaulting to http:
else if(checkprefix("socks", proxy))
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
To try it out, you either checkout/update your git clone:
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info