Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
3ebb5a41
Verified
Commit
3ebb5a41
authored
Apr 21, 2022
by
shelikhoo
Browse files
Show relay URL when connecting to relay
parent
b18a9431
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxy/lib/snowflake.go
View file @
3ebb5a41
...
...
@@ -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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment