curl-users
Re: -x option again
Date: Sat, 4 May 2002 17:36:57 +0200 (MET DST)
On Fri, 3 May 2002, Sebastien WILLEMIJNS wrote:
> C:\WINDOWS\test\curl>oldcurl -x 210.59.70.12 www.willemijns.com -v
> * Connected to 210.59.70.12 (210.59.70.12)
> > GET http://www.willemijns.com HTTP/1.1
> User-Agent: curl/7.9.5 (win32) libcurl 7.9.5
7.9.5 did not set the default port to 1080 properly. We've discussed this
before, and this was fixed in 7.9.6. Therefor, the above operation connects
to port 80 on the proxy, while...
> C:\WINDOWS\test\curl>newcurl -x 210.59.70.12 www.willemijns.com -v
> * About to connect() to 210.59.70.12:1080
> * Connected to 210.59.70.12 (210.59.70.12) port 1080
> > GET http://www.willemijns.com HTTP/1.1
> User-Agent: curl/7.9.6 (win32) libcurl 7.9.6
... this connects to port 1080. Do I need to explain more why there are
differences in behavior?
Try connecting the 7.9.5 version to port 1080, and you'll get the same
behavior. Or point 7.9.6 to port 80.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.netReceived on 2002-05-04