KokaKiwi
|
7142fa3ddb
|
fix(proxy): Correctly close connection pipe when dealing with error
|
2023-10-12 15:52:43 +01:00 |
|
WofWca
|
a615e8b1ab
|
fix(proxy): remove _potential_ deadlock
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
|
2023-10-09 15:15:45 +01:00 |
|
Vort
|
ea01c92cf1
|
Implement DataChannel flow control
|
2023-06-19 17:44:45 +01:00 |
|
meskio
|
82cc0f38f7
|
Move the development to gitlab
Related: tpo/anti-censorship/team#86
|
2023-05-31 10:01:47 +02:00 |
|
Cecylia Bocovich
|
b547d449cb
|
Refactor timeout loop to use a context and reuse timers
|
2022-11-28 17:30:05 -05:00 |
|
Cecylia Bocovich
|
b010de5abb
|
Terminate timeoutLoop when conn is closed
|
2022-11-28 17:11:20 -05:00 |
|
Cecylia Bocovich
|
5c23fcf14a
|
Add timeout for webRTCConn
|
2022-11-28 17:11:18 -05:00 |
|
Cecylia Bocovich
|
6007d5e08e
|
Refactor creation of webRTCConn in proxy
|
2022-11-28 17:10:49 -05:00 |
|
luciole
|
2c599f8827
|
change bandwidth type from int to int64 to prevent overflow
|
2022-11-21 10:33:21 -05:00 |
|
Shelikhoo
|
e4305a4d2b
|
Add EventOnProxyConnectionOver Reporting
|
2022-01-25 13:03:18 +00:00 |
|
Cecylia Bocovich
|
84e8a183e5
|
Comment package and minor changes exports
|
2021-10-26 15:49:46 -04:00 |
|
Cecylia Bocovich
|
b2edf948e2
|
Remove BytesLoggers from exported functions
|
2021-10-26 14:52:17 -04:00 |
|
idk
|
50e4f4fd61
|
Turn the proxy code into a library
Allow other go programs to easily import the snowflake proxy library and
start/stop a snowflake proxy.
|
2021-10-26 14:15:44 -04:00 |
|