mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
The `dc.Send()` should increase the `bufferedAmount` value, so there is no need to add the message length a second time. Also replace GT with GE, for the case where `BufferedAmountLowThreshold === maxBufferedAmount` Currently the deadlock cannot happen because `maxBufferedAmount` and `BufferedAmountLowThreshold` are too far apart, in fact the former is 2x the latter. See - https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/144#note_2902956 - https://github.com/pion/webrtc/pull/2473 - https://github.com/pion/webrtc/pull/2474 |
||
---|---|---|
.. | ||
metrics.go | ||
proxy-go_test.go | ||
pt_event_logger.go | ||
pt_event_metrics.go | ||
snowflake.go | ||
tokens.go | ||
tokens_test.go | ||
util.go | ||
webrtcconn.go |