[tor-commits] [pluggable-transports/snowflake] 16/31: Show relay URL when connecting to relay

gitolite role git at cupani.torproject.org
Thu Jun 16 17:04:03 UTC 2022


This is an automated email from the git hooks/post-receive script.

shelikhoo pushed a commit to branch main
in repository pluggable-transports/snowflake.

commit 3ebb5a4186581784a2d2ada6a5ce1c703030c3bb
Author: Shelikhoo <xiaokangwang at outlook.com>
AuthorDate: Thu Apr 21 12:00:15 2022 +0100

    Show relay URL when connecting to relay
---
 proxy/lib/snowflake.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/lib/snowflake.go b/proxy/lib/snowflake.go
index a60b5ab..2770aa4 100644
--- a/proxy/lib/snowflake.go
+++ b/proxy/lib/snowflake.go
@@ -331,7 +331,7 @@ func (sf *SnowflakeProxy) datachannelHandler(conn *webRTCConn, remoteAddr net.Ad
 		return
 	}
 	wsConn := websocketconn.New(ws)
-	log.Printf("connected to relay")
+	log.Printf("connected to relay: %v", relayURL)
 	defer wsConn.Close()
 	copyLoop(conn, wsConn, sf.shutdown)
 	log.Printf("datachannelHandler ends")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list