mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
What the hell was I on?
This commit is contained in:
parent
9740a07b8c
commit
5a24ff0563
1 changed files with 2 additions and 1 deletions
|
@ -2263,7 +2263,8 @@ channel_flush_some_cells(channel_t *chan, ssize_t num_cells)
|
|||
|
||||
/* Now process the queue if necessary */
|
||||
|
||||
if (q_len_after > q_len_before && num_cells < flushed) {
|
||||
if ((q_len_after > q_len_before) &&
|
||||
(unlimited || (flushed < num_cells))) {
|
||||
flushed += channel_flush_some_cells_from_outgoing_queue(chan,
|
||||
(unlimited ? -1 : num_cells - flushed));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue