mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
2000d04cb6
Commit 488e2b00bf
introduced an issue, most
likely introduced by a bad copy paste, that made us stop reading on the
connection if our write bandwidth limit was reached.
The problem is that because "read_blocked_on_bw" was never set, the connection
was never reenabled for reading.
This is most likely the cause of #27813 where bytes were accumulating in the
kernel TCP bufers because tor was not doing reads. Only relays with
RelayBandwidthRate would suffer from this but affecting all relays connecting
to them. And using that tor option is recommended and best practice so many
many relays have it enabled.
Fixes #28089.
7 lines
297 B
Plaintext
7 lines
297 B
Plaintext
o Major bugfixes (relay):
|
|
- When our write bandwidth limit is exhausted, stop writing on the
|
|
connection. Previously, we had a typo in the code that would make us stop
|
|
reading leading to relay connections being stuck indefinitely. Fixes bug
|
|
28089; bugfix on 0.3.4.1-alpha.
|
|
|