snowflake/common/turbotunnel
David Fifield 97c930013b Fix loop termination in TestQueuePacketConnWriteToKCP.
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.
2023-04-04 19:12:22 -06:00
..
clientid.go Import Turbo Tunnel support code. 2020-04-23 14:00:03 -06:00
clientmap.go Manually unlock the mutex in ClientMap.SendQueue. 2022-12-08 08:03:54 -07:00
clientmap_test.go Manually unlock the mutex in ClientMap.SendQueue. 2022-12-08 08:03:54 -07:00
consts.go Reduce turbotunnel queueSize from 2048 to 512. 2022-12-08 08:03:54 -07:00
queuepacketconn.go Comment typo. 2023-04-04 18:46:35 -06:00
queuepacketconn_test.go Fix loop termination in TestQueuePacketConnWriteToKCP. 2023-04-04 19:12:22 -06:00
redialpacketconn.go Fix comment typo on NewRedialPacketConn. 2023-03-13 15:10:35 -06:00