Closed klauern closed 7 years ago
Hi Nick,
I tested this a little bit and I couldn't get it working reliably. it's not covering all the possible scenarios, i.e. it doesn't allow using socks proxies.
On the other note one can use java flags socksProxyPort, socksProxyHost, http.proxyPort, http.proxyHost and https.proxyPort, https.proxyHost to allow getMOSPatch to use your proxy.
I.e. like this: java -DsocksProxyHost=localhost -DsocksProxyPort=8888 -jar getMOSPatch.jar patch=6880880
So at this point I'll close the pull request and will not merge it into the main codeline.
Maris
This commit adds some very basic functionality to support corporate HTTP proxy support. It sets some system properties based on the presence of a couple
$HTTP_PROXY
and/or$HTTPS_PROXY
environment variables.