tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 4dfc5de509302e009f4137035cacbb687537c1fe
parent 028b52f1ef87627f6bcc098a6d1167ace1f207f1
Author: David Goulet <dgoulet@torproject.org>
Date:   Thu, 14 Oct 2021 08:40:38 -0400

Merge branch 'tor-gitlab/mr/455'

Diffstat:
Achanges/bug40400 | 6++++++
Msrc/core/or/command.c | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/changes/bug40400 b/changes/bug40400 @@ -0,0 +1,6 @@ + o Minor bugfixes (usability): + - Do not log "circuit_receive_relay_cell failed" at LOG_PROTOCOL_WARN; + instead log it at DEBUG. In every case where we would want to log + this as a protocol warning, we are already logging another warning + from inside circuit_receive_relay_cell. Fixes part of bug 40400; + bugfix on 0.1.1.9. diff --git a/src/core/or/command.c b/src/core/or/command.c @@ -563,7 +563,7 @@ command_process_relay_cell(cell_t *cell, channel_t *chan) } if ((reason = circuit_receive_relay_cell(cell, circ, direction)) < 0) { - log_fn(LOG_PROTOCOL_WARN,LD_PROTOCOL,"circuit_receive_relay_cell " + log_fn(LOG_DEBUG,LD_PROTOCOL,"circuit_receive_relay_cell " "(%s) failed. Closing.", direction==CELL_DIRECTION_OUT?"forward":"backward"); /* Always emit a bandwidth event for closed circs */