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

[tor-commits] [snowflake/master] Use websocket relay at wss://snowflake.bamsoftware.com:443.



commit 138d2b5391199193055cc3bdd1c386ce1504b618
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Jan 20 19:16:10 2017 -0800

    Use websocket relay at wss://snowflake.bamsoftware.com:443.
---
 proxy/snowflake.coffee | 4 ++--
 proxy/websocket.coffee | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee
index 1fff686..38d7d08 100644
--- a/proxy/snowflake.coffee
+++ b/proxy/snowflake.coffee
@@ -9,8 +9,8 @@ this must always act as the answerer.
 ###
 DEFAULT_BROKER = 'snowflake-reg.appspot.com'
 DEFAULT_RELAY =
-  host: '192.81.135.242'
-  port: 9902
+  host: 'snowflake.bamsoftware.com'
+  port: 443
 COPY_PASTE_ENABLED = false
 COOKIE_NAME = "snowflake-allow"
 
diff --git a/proxy/websocket.coffee b/proxy/websocket.coffee
index 94cf274..75c7a2f 100644
--- a/proxy/websocket.coffee
+++ b/proxy/websocket.coffee
@@ -46,7 +46,7 @@ buildUrl = (scheme, host, port, path, params) ->
   parts.join ''
 
 makeWebsocket = (addr) ->
-  url = buildUrl 'ws', addr.host, addr.port, '/'
+  url = buildUrl 'wss', addr.host, addr.port, '/'
   ws = new WebSocket url
   ###
   'User agents can use this as a hint for how to handle incoming binary data: if



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