X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2FHTTP.java;h=b2a6b76081fca07ade97f3dac066870991de3825;hb=08f6a0c4e25a46920c500c7d3a1739df5df145b7;hp=5cf4e3aec16b7ee859046e7e603b47009c015fa5;hpb=c04af3bec88e6cbaf461700900d00d1e4d096d26;p=org.ibex.core.git diff --git a/src/org/ibex/HTTP.java b/src/org/ibex/HTTP.java index 5cf4e3a..b2a6b76 100644 --- a/src/org/ibex/HTTP.java +++ b/src/org/ibex/HTTP.java @@ -648,8 +648,6 @@ public class HTTP { /** encapsulates most of the proxy logic; some is shared in HTTP.java */ public static class Proxy { - public Proxy() { } - public String httpProxyHost = null; ///< the HTTP Proxy host to use public int httpProxyPort = -1; ///< the HTTP Proxy port to use public String httpsProxyHost = null; ///< seperate proxy for HTTPS @@ -780,7 +778,7 @@ public class HTTP { Scheduler.add(new Scheduler.Task() { public void perform() throws IOException, JSExn { Box b = new Box(); - Template t = Template.buildTemplate(Stream.getInputStream((JS)Main.builtin.get("org/ibex/builtin/proxy_authorization.ibex")), new Ibex(null)); + Template t = Template.buildTemplate("org/ibex/builtin/proxy_authorization.ibex", Stream.getInputStream((JS)Main.builtin.get("org/ibex/builtin/proxy_authorization.ibex")), new Ibex(null)); t.apply(b); b.put("realm", realm); b.put("proxyIP", proxyIP);