Verified Commit 3ebb5a41 authored by shelikhoo's avatar shelikhoo
Browse files

Show relay URL when connecting to relay

parent b18a9431
...@@ -331,7 +331,7 @@ func (sf *SnowflakeProxy) datachannelHandler(conn *webRTCConn, remoteAddr net.Ad ...@@ -331,7 +331,7 @@ func (sf *SnowflakeProxy) datachannelHandler(conn *webRTCConn, remoteAddr net.Ad
return return
} }
wsConn := websocketconn.New(ws) wsConn := websocketconn.New(ws)
log.Printf("connected to relay") log.Printf("connected to relay: %v", relayURL)
defer wsConn.Close() defer wsConn.Close()
copyLoop(conn, wsConn, sf.shutdown) copyLoop(conn, wsConn, sf.shutdown)
log.Printf("datachannelHandler ends") log.Printf("datachannelHandler ends")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment