mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
The noise-generating goroutine was meant to stop when the parent function returned and closed the `done` channel. The `break` in the loop was wrongly exiting only from the `select`, not from the `for`. This was the cause of banchmark anomalies in https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40260#note_2885832. The noise-generating loop from the test was continuing to run while the benchmarks were running. |
||
---|---|---|
.. | ||
clientid.go | ||
clientmap.go | ||
clientmap_test.go | ||
consts.go | ||
queuepacketconn.go | ||
queuepacketconn_test.go | ||
redialpacketconn.go |