commit 529045fe726aa21dff052a00e57fabec6aa8cdc8 Author: David Fifield david@bamsoftware.com Date: Sat May 24 19:16:25 2014 -0700
Set the TRANSPARENT_PROXY_RESOLVES_HOST proxy flag.
This flag has no effect for the "direct" proxy type, but we'll want to set it uniformly for all other proxy types. --- firefox/components/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/firefox/components/main.js b/firefox/components/main.js index e1284f0..e2a2484 100644 --- a/firefox/components/main.js +++ b/firefox/components/main.js @@ -133,9 +133,10 @@ MeekHTTPHelper.lookupStatus = function(status) { // undefined MeekHTTPHelper.buildProxyInfo = function(spec) { // https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interf... + var flags = Components.interfaces.nsIProxyInfo.TRANSPARENT_PROXY_RESOLVES_HOST; if (spec === undefined) { // "direct"; i.e., no proxy. This is the default. - return MeekHTTPHelper.proxyProtocolService.newProxyInfo("direct", "", 0, 0, 0xffffffff, null); + return MeekHTTPHelper.proxyProtocolService.newProxyInfo("direct", "", 0, flags, 0xffffffff, null); } return null; };
tor-commits@lists.torproject.org