cURL / Mailing Lists / curl-users / Single Mail


[ curl-Bugs-741841 ] SOCKS5 proxy and user authentication

From: <>
Date: Thu, 22 May 2003 09:21:29 -0700

Bugs item #741841, was opened at 2003-05-22 09:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: SOCKS5 proxy and user authentication

Initial Comment:

I am using the libcurl version 7.10.3 on solaris

When I tried to connect to a SOCKS5 proxy using libcurl, got an error saying 'User was rejected by
SOCKS5 Server(1,0)' . Then I went through the url.c file and found one bug in the 'handleSock5Proxy'
function, the bug is in checking the subnegotiation version of the server response, the version will be 1
and current code is checking for 5 and returning with the above error message.

I hope this error will be corrected in the next version



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-22