[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor] 01/03: relay: Use the right max queue size value in log
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main
in repository tor.
commit bff6d7a944338a4f18f912dc977a33ef2416fb03
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
AuthorDate: Wed Jan 25 14:10:20 2023 -0500
relay: Use the right max queue size value in log
Fixes #40745
Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
changes/ticket40745 | 3 +++
src/core/or/relay.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/changes/ticket40745 b/changes/ticket40745
new file mode 100644
index 0000000000..988dbc5f33
--- /dev/null
+++ b/changes/ticket40745
@@ -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.
diff --git a/src/core/or/relay.c b/src/core/or/relay.c
index 39a7b783ab..d4df8ff7f5 100644
--- a/src/core/or/relay.c
+++ b/src/core/or/relay.c
@@ -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;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits