[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [meek/webextension] Fix proxy setting.



commit bf7192d56dc95f874b0464093c787c51d4df58e8
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Aug 25 19:33:24 2019 -0600

    Fix proxy setting.
    
    Was broken after the refactoring in
    4fb5ca496d2fb6b3f96114be3a85c9fcde7f0d3d.
---
 webextension/browser/background.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webextension/browser/background.js b/webextension/browser/background.js
index 487ea4e..5a23134 100644
--- a/webextension/browser/background.js
+++ b/webextension/browser/background.js
@@ -215,7 +215,7 @@ async function roundtrip(params) {
             }
             proxyCalled = true;
 
-            return makeProxyInfo(request.proxy);
+            return makeProxyInfo(params.proxy);
         } finally {
             browser.proxy.onRequest.removeListener(proxyFn);
             proxyUnlock();

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits