From: megacz Date: Fri, 30 Jan 2004 07:38:45 +0000 (+0000) Subject: 2003/09/29 04:05:38 X-Git-Tag: RC3~506 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9cd9feecf871be8e9532b70b8c73cbd3add81b7c;p=org.ibex.core.git 2003/09/29 04:05:38 darcs-hash:20040130073845-2ba56-f8434f137dd229d99f2e7913e231851b64891333.gz --- diff --git a/src/org/xwt/HTTP.java b/src/org/xwt/HTTP.java index 9ca8c6f..cc476cb 100644 --- a/src/org/xwt/HTTP.java +++ b/src/org/xwt/HTTP.java @@ -360,10 +360,15 @@ public class HTTP { if (Log.verbose) Log.log(this, "creating HTTP object for connection to " + host + ":" + port); Proxy pi = Platform.detectProxy(); - if (sock == null && pi != null && pi.proxyAutoConfigFunction != null) sock = attemptPAC(pi.proxyAutoConfigFunction); - if (sock == null && pi != null && ssl && pi.httpsProxyHost != null) sock = attemptHttpProxy(pi.httpsProxyHost, pi.httpsProxyPort); - if (sock == null && pi != null && pi.httpProxyHost != null) sock = attemptHttpProxy(pi.httpProxyHost, pi.httpProxyPort); - if (sock == null && pi != null && pi.socksProxyHost != null) sock = attemptSocksProxy(pi.socksProxyHost, pi.socksProxyPort); + OUTER: do { + if (pi != null) { + for(int i=0; i