[tor-commits] [snowflake/master] Don't specify port for stun server

arlo at torproject.org arlo at torproject.org
Wed Jul 10 15:58:46 UTC 2019


commit fb0578d84016439f387e1da37e23b4d5bc2f8a17
Author: Arlo Breault <arlolra at gmail.com>
Date:   Sun Jul 7 12:43:32 2019 +0200

    Don't specify port for stun server
    
    No idea why but, with it, when a client disconnects the datachannel
    doesn't close.  This wasn't an issue prior to 359600d since the
    configuration wasn't being passed to the peerconnection constructor.
    
    This probably just makes the url invalid and falls back to a default in
    libwebrtc.
---
 proxy/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/config.js b/proxy/config.js
index 316f3b0..d5d8ef7 100644
--- a/proxy/config.js
+++ b/proxy/config.js
@@ -30,7 +30,7 @@ Config.prototype.connectionsPerClient = 1;
 Config.prototype.pcConfig = {
   iceServers: [
     {
-      urls: ['stun:stun.l.google.com:19302']
+      urls: ['stun:stun.l.google.com']
     }
   ]
 };





More information about the tor-commits mailing list