cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: jelly <sinojelly_at_163.com>
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 https://code.google.com/p/wiztodo
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://code.google.com/p/wiztodo/">here</A>.
</BODY></HTML>

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 https://code.google.com/p/wiztodo
curl: (56) Proxy CONNECT aborted

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-04