mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
relay: Use the right max queue size value in log
Fixes #40745 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
fa2face3b5
commit
bff6d7a944
3
changes/ticket40745
Normal file
3
changes/ticket40745
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfix (relay, logging):
|
||||
- The wrong max queue cell size was used in a protocol warning logging
|
||||
statement. Fixes bug 40745; bugfix on 0.4.7.1-alpha.
|
@ -3261,7 +3261,7 @@ append_cell_to_circuit_queue(circuit_t *circ, channel_t *chan,
|
||||
"%s circuit has %d cells in its queue, maximum allowed is %d. "
|
||||
"Closing circuit for safety reasons.",
|
||||
(exitward) ? "Outbound" : "Inbound", queue->n,
|
||||
max_circuit_cell_queue_size);
|
||||
max_queue_size);
|
||||
circuit_mark_for_close(circ, END_CIRC_REASON_RESOURCELIMIT);
|
||||
stats_n_circ_max_cell_reached++;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user