diff options
author | Ross Burton <ross.burton@intel.com> | 2014-08-26 15:44:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-10 10:39:12 +0100 |
commit | 984455a95b4302d527ff54e019d8ed00611f3664 (patch) | |
tree | 47c1047e23752d994ca590d5b06ef948eae987bc | |
parent | 1fc544811582ed68b6e0a61fd22c169e1825b725 (diff) | |
download | openembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.tar.gz openembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.tar.bz2 openembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.zip |
oe-git-proxy: use SOCKS4a instead of SOCKS4
In some situations where a proxy is required the client can't even do DNS
lookups, so instead of using SOCKS4 use SOCKS4a which moves the name resolution
from the client to the proxy.
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-x | scripts/oe-git-proxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 98191faadd..0ce7ed090e 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -121,7 +121,7 @@ if [ "$PROTO" = "socks" ]; then if [ -z "$PORT" ]; then PORT="1080" fi - METHOD="SOCKS4:$PROXY:$1:$2,socksport=$PORT" + METHOD="SOCKS4A:$PROXY:$1:$2,socksport=$PORT" else # Assume PROXY (http, https, etc) if [ -z "$PORT" ]; then |