mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
set protocol query for connection with server unconditionally
This commit is contained in:
parent
11442c8857
commit
80262c9e4f
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ func connectToRelay(
|
|||
log.Printf("no remote address given in websocket")
|
||||
}
|
||||
|
||||
if webrtcConnProtocol != "" {
|
||||
{
|
||||
q := u.Query()
|
||||
q.Set("protocol", webrtcConnProtocol)
|
||||
u.RawQuery = q.Encode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue