mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
begin multiplex snowflake connect loop for #31
This commit is contained in:
parent
346f316038
commit
451edb6dec
2 changed files with 18 additions and 6 deletions
|
@ -207,9 +207,6 @@ func (c *webRTCConn) establishDataChannel() error {
|
|||
// Disable the DataChannel as a write destination.
|
||||
log.Println("WebRTC: DataChannel.OnClose [remotely]")
|
||||
c.snowflake = nil
|
||||
// TODO(issue #12): Need a way to update the circuit so that when a new WebRTC
|
||||
// data channel is available, the relay actually recognizes the new
|
||||
// snowflake.
|
||||
c.Reset()
|
||||
}
|
||||
dc.OnMessage = func(msg []byte) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue