summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-10-21 09:16:35 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2018-10-21 10:37:26 +0100
commitf195395ab1a84c20331fab94992348dbf21ec990 (patch)
tree7e42e5213fd5cdb5c5be0d7ea8ac9584f3d37f28
parent0e521abd3fff87bd2be6707052f72cf89b49391c (diff)
downloadlibgit2-f195395ab1a84c20331fab94992348dbf21ec990.tar.gz
ci: bind specifically to localhost for proxy
Bind the proxy specifically to 127.0.0.1 instead of all addresses. This is not strictly necessary for operations, but having a potentially open proxy on a network is not a good idea.
-rwxr-xr-xci/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/test.sh b/ci/test.sh
index e50e6fa9e..5d7c913c8 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -73,8 +73,8 @@ fi
if [ -z "$SKIP_PROXY_TESTS" ]; then
echo "Starting HTTP proxy..."
- curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar >poxyproxy.jar
- java -jar poxyproxy.jar -d --port 8080 --credentials foo:bar >/dev/null 2>&1 &
+ curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.2.0/poxyproxy-0.2.0.jar >poxyproxy.jar
+ java -jar poxyproxy.jar -d --address 127.0.0.1 --port 8080 --credentials foo:bar >/dev/null 2>&1 &
fi
if [ -z "$SKIP_SSH_TESTS" ]; then