cURL / Mailing Lists / curl-users / Single Mail


[ curl-Bugs-742390 ] http header and socks5

From: <>
Date: Fri, 23 May 2003 08:14:04 -0700

Bugs item #742390, was opened at 2003-05-23 08:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: libcurl
Group: wrong content
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: http header and socks5

Initial Comment:

I am using the libcurl 7.10.3

I observed that the http GET packet is been sent with the proxy authentication header through the socks5
channel. I think the proxy username and passwd is used in the subnegotiation phase after that its not
used, its not supposed to be there in the http header while sending to the actual destination http site.

Another thing i observed is that the GET header line has the full url, this is not correct (i think ), the full url
is required only if you connect through a http proxy, but in the case of socks5 we already established a
channel to the destination http site and we can send GET packets as we are connected directly.

The previous socks5 fix i applied to my code base and its working fine, now subnegotiation phase is
passed ok, Thanks.

Jis Joy


You can respond by visiting:

This email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software.
Received on 2003-05-23