cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Support socks proxy specification in "all_proxy" variable

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 26 Apr 2011 15:29:11 -0700

On Tue, Apr 26, 2011 at 11:53:59PM +0200, obconseil_at_gmail.com wrote:
> However, I found another, unrelated problem linked to the use of HTTP trackers.
>
> When *not* using proxy, a software asking for, for exemple:
> http://tracker.torrent.com:5000/24d6209a416486c8d3f00e752b2a96ea/announce?info_hash=%8D%81%CC% (etc...)
> The actual text request against the server is:
> GET /24d6209a416486c8d3f00e752b2a96ea/announce?info_hash=%8D%81%CC%F7%B9i%F (etc... http header follows, including the Host: tracker.torrent.com:5000 )
>
> But when using the socks proxy, here is what the request is:
> GET http://tracker.torrent.com:5000/24d6209a416486c8d3f00e752b2a96ea/announce?info_hash=%8D%81%CC%F7%B9i%F (etc... http header follows also)

Is this using your proxy patch? Test cases 700 and 701 test normal HTTP
requests through SOCKS4/5 proxies, and in those cases the requests are made
correctly.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-27