OS:
Darwin ... 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT
2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
Git: version: (via homebrew)
git --version
git version 1.8.0
curl version:
curl --version
curl 7.28.1 (x86_64-apple-darwin11.4.2)
git clone http://herry@stash.somesite/a.git
Cloning into 'a'...
error: Empty reply from server while accessing
git/info/refs?service=git-upload-pack
fatal: HTTP request failed
i tried export http_proxy=socks5://ip:port, all_proxy=socks5://, neither of
them works.
I also configure socks proxy in ~/.curlrc, git is not working well.
However, curl is doing well with curlrc config.
>From the trace, looks like git is just put the http request via proxy host.
But according with socks protocol, it should have some headers.
Interesting thing is, http_proxy way is working perfectly on my Ubuntu
enviroment.
Thanks
--