mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
We used a WaitGroup to prevent a call to Peers.End from melting snowflakes while a new one is being collected. However, calls to WaitGroup.Add are in a race with WaitGroup.Wait. To fix this, we use a Mutex instead. |
||
---|---|---|
.. | ||
interfaces.go | ||
lib_test.go | ||
peers.go | ||
rendezvous.go | ||
snowflake.go | ||
turbotunnel.go | ||
util.go | ||
webrtc.go |