mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
This fixes a race condition in which snowflakes.End() is called while snowflakes.Collect() is in progress resulting in a write to a closed channel. We now wait for all in-progress collections to finish and add an extra check before proceeding with a collection. |
||
---|---|---|
.. | ||
interfaces.go | ||
lib_test.go | ||
peers.go | ||
rendezvous.go | ||
snowflake.go | ||
turbotunnel.go | ||
util.go | ||
webrtc.go |