curl-library
Re:Re:Re:Re:Re: git clone over https failure while using socks proxy. any suggestions?thanks.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Aug 2011 00:27:18 +0200 (CEST)
Date: Fri, 5 Aug 2011 00:27:18 +0200 (CEST)
On Fri, 5 Aug 2011, jelly wrote:
> but, how to set socks5 proxy in enviroment variable? and how to use socks5
> proxy with git?
It wasn't possible at all until very recently (7.21.7), and you do it by
setting the proxy variable with a socks protocol prefix, just as you tried!
Are you possibly using an older version now in your tests?
> $ curl --socks5 localhost:9050 https://code.google.com/p/wiztodo
> $ https_proxy="socks5://localhost:9050"
> $ curl https://code.google.com/p/wiztodo
> curl: (56) Proxy CONNECT aborted
I just wrote up a test doing this with my curl dev version (to be committed as
test 709) and it worked just fine for me!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-08-05