cURL / Mailing Lists / curl-library / Single Mail


Re:Re:Re:Re:Re: git clone over https failure while using socks proxy. any suggestions?thanks.

From: jelly <>
Date: Fri, 5 Aug 2011 01:17:23 +0800 (CST)

I know, thank you!
but, how to set socks5 proxy in enviroment variable? and how to use socks5 proxy with git?

$ curl --socks5 localhost:9050
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<H1>301 Moved</H1>
The document has moved
<A HREF="">here</A>.

jelly_at_jelly-PC2 /cygdrive/d/Projects/WizTodo/Code-new/wiztodo
$ https_proxy="socks5://localhost:9050"

jelly_at_jelly-PC2 /cygdrive/d/Projects/WizTodo/Code-new/wiztodo
$ curl
curl: (56) Proxy CONNECT aborted

List admin:
Received on 2011-08-04