mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
remove webRTCConn SendLoop and simplify Write without additional channel, as net.Conn is already safe
This commit is contained in:
parent
3a7e0ea620
commit
d4efe774d1
3 changed files with 24 additions and 43 deletions
|
@ -70,7 +70,6 @@ func dialWebRTC() (*webRTCConn, error) {
|
|||
|
||||
connection := NewWebRTCConnection(config, broker)
|
||||
go connection.ConnectLoop()
|
||||
go connection.SendLoop()
|
||||
|
||||
return connection, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue