mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
dcabf801e5
The flush cells process can close a channel if the connection write fails but still return that it flushed at least one cell. This is due because the error is not propagated up the call stack so there is no way of knowing if the flush actually was successful or not. Because this would require an important refactoring touching multiple subsystems, this patch is a bandaid to avoid the KIST scheduler to handle closed channel in its loop. Bandaid on #23751. Signed-off-by: David Goulet <dgoulet@torproject.org>
7 lines
385 B
Plaintext
7 lines
385 B
Plaintext
o Minor bugfixes (scheduler, channel):
|
|
- Ignore channels that have been closed while flushing cells. This can
|
|
happen if the write on the connection fails leading to the channel being
|
|
closed while in the scheduler loop. This is not a complete fix, it is a
|
|
bandaid until we are able to refactor those interactions. Fixes bug
|
|
23751; bugfix on 0.3.2.1-alpha.
|