summaryrefslogtreecommitdiffstats
path: root/scripts/oe-git-proxy
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-08-26 14:44:42 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 15:44:31 (GMT)
commit1d00f3e0d9c7450dcf84688c3ab260d5b1fb5389 (patch)
treec64983dc58681483cd2a2b65b737826b39a33e40 /scripts/oe-git-proxy
parent0843260f2f71c916509abfcb0aa89afb2e70a84a (diff)
downloadpoky-1d00f3e0d9c7450dcf84688c3ab260d5b1fb5389.tar.gz
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. (From OE-Core rev: 984455a95b4302d527ff54e019d8ed00611f3664) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-git-proxy')
-rwxr-xr-xscripts/oe-git-proxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 98191fa..0ce7ed0 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -121,7 +121,7 @@ if [ "$PROTO" = "socks" ]; then
121 if [ -z "$PORT" ]; then 121 if [ -z "$PORT" ]; then
122 PORT="1080" 122 PORT="1080"
123 fi 123 fi
124 METHOD="SOCKS4:$PROXY:$1:$2,socksport=$PORT" 124 METHOD="SOCKS4A:$PROXY:$1:$2,socksport=$PORT"
125else 125else
126 # Assume PROXY (http, https, etc) 126 # Assume PROXY (http, https, etc)
127 if [ -z "$PORT" ]; then 127 if [ -z "$PORT" ]; then