mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
1d36a8e9ae
Right now, we only consider sending stream-level SENDME cells when we have completely flushed a connection_edge's outbuf, or when it sends us a DATA cell. Neither of these is ideal for throughput. This patch changes the behavior so we now call connection_edge_consider_sending_sendme when we flush _some_ data from an edge outbuf. Fix for bug 2756; bugfix on svn r152.
12 lines
599 B
Plaintext
12 lines
599 B
Plaintext
o Minor bugfixes (spec conformance, performance):
|
|
- We now ask the other side of a stream (the client or the exit)
|
|
for more data on that stream when the amount of queued data on
|
|
that stream dips low enough. Previously, we wouldn't ask the
|
|
other side for more data until either it sent us more data
|
|
(which it wasn't supposed to do if it had exhausted its
|
|
window!) or until we had completely flushed all our queued
|
|
data. Fixing this should improve throughput. Fixes bug 2756;
|
|
bugfix on the earliest released versions of Tor (svn commit
|
|
r152).
|
|
|