commit 34feedea6050503f6b6ceede6c50ba5cb193ef03
parent 0921fdf633f99cda0df3dab17e996d41dd596c9b
Author: George Kadianakis <desnacked@riseup.net>
Date: Wed, 18 Nov 2020 12:37:02 +0200
Merge remote-tracking branch 'tor-gitlab/mr/216'
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/changes/ticket40142 b/changes/ticket40142
@@ -0,0 +1,3 @@
+ o Minor bugfixes (logging, flow control):
+ - Turn a SENDME failure log warning into a debug. It can actually happen
+ naturally. Fixes bug 40142; bugfix on 0.4.1.1-alpha.
diff --git a/src/core/or/sendme.c b/src/core/or/sendme.c
@@ -398,8 +398,8 @@ sendme_connection_edge_consider_sending(edge_connection_t *conn)
conn->deliver_window += STREAMWINDOW_INCREMENT;
if (connection_edge_send_command(conn, RELAY_COMMAND_SENDME,
NULL, 0) < 0) {
- log_warn(LD_BUG, "connection_edge_send_command failed while sending "
- "a SENDME. Circuit probably closed, skipping.");
+ log_debug(LD_CIRC, "connection_edge_send_command failed while sending "
+ "a SENDME. Circuit probably closed, skipping.");
goto end; /* The circuit's closed, don't continue */
}
}