[tor-commits] [flashproxy/master] Send flashproxy pools that include transport information.

dcf at torproject.org dcf at torproject.org
Fri Sep 20 07:41:46 UTC 2013


commit 0eccc984c50bae6736b58a2e75ed3af8e41a7b1e
Author: George Kadianakis <desnacked at riseup.net>
Date:   Wed Sep 18 16:11:42 2013 +0300

    Send flashproxy pools that include transport information.
    
    For now, we only do the "websocket" transport.
---
 proxy/flashproxy.js |    1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 4367eff..db47184 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -562,6 +562,7 @@ function FlashProxy() {
 
         /* Flash proxy protocol revision. */
         params = [["r", "1"]];
+        params.push(["transport", "websocket"]);
         /* Clients we're currently handling. */
         for (var i = 0; i < this.proxy_pairs.length; i++)
             params.push(["client", format_addr(this.proxy_pairs[i].client_addr)]);



More information about the tor-commits mailing list