cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Proxy support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 1 Jan 2006 20:13:32 +0100 (CET)

On Wed, 28 Dec 2005, Varuna Bamunusinghe wrote:

> I want to connect to http server using CUrl through a socks proxies. But I
> don't think there's socks4 support and when I try to connect to socks4 with
> socks5 option set, it crashes.
>
> The problem is I guess because, handlesock5 function at url.c processes the
> proxy even it returns failure (non zero on the second byte of response). So
> will it be ok to just delete the section and recomplile it?

I don't know, does it work with socks4 proxies if you do so?

To me it sounds like you just remove the crash reason, but it would still
return an error...

The SOCKS support in libcurl is lacking in several aspects, as mentioned many
times before.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-01