cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 Aug 2011 16:21:57 +0200 (CEST)

On Thu, 4 Aug 2011, jelly wrote:

Please note that we do not appreciate top-posting on this list:
http://curl.haxx.se/mail/etiquette.html#Do_Not_Top_Post

> $ export http_proxy=localhost:9050

This says you have a HTTP proxy on port 9050, while you previously have
explained that you have a SOCKS proxy there. curl will thus try to speak HTTP
with the SOCKS proxy, which won't work.

With recent curl versions you can set the proxy to be:

  "socks4://localhost:9050" (assuming SOCKS4 is what you want)

or just use the proper --socks* option (depending on what SOCKS version you
require).

> $ curl https://code.google.com/p/wiztodo -vvv

Note that one -v is enough, adding more -v options won't change anything.

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