mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
3d9dcb49eb
Stop adding unneeded channel padding right after we finish flushing to a connection that has been trying to flush for many seconds. Instead, treat all partial or complete flushes as activity on the channel, which will defer the time until we need to add padding. This fix should resolve confusing and scary log messages like "Channel padding timeout scheduled 221453ms in the past." Fixes bug 22212; bugfix on 0.3.1.1-alpha. I think technically we could resolve bug 22212 by adding a call to channel_timestamp_active() only in the finished_flushing case. But I added a call in the flushed_some case too since that seems to more accurately reflect the notion of "active".
9 lines
487 B
Plaintext
9 lines
487 B
Plaintext
o Major bugfixes:
|
|
- Stop adding unneeded channel padding right after we finish flushing
|
|
to a connection that has been trying to flush for many seconds.
|
|
Instead, treat all partial or complete flushes as activity on the
|
|
channel, which will defer the time until we need to add padding.
|
|
This fix should resolve confusing and scary log messages like
|
|
"Channel padding timeout scheduled 221453ms in the past." Fixes
|
|
bug 22212; bugfix on 0.3.1.1-alpha.
|