GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 16351d65 authored by David Goulet's avatar David Goulet 🐋

sendme: Turn log warning into debug

When sending the stream level SENDME, it is possible the cirucit was marked
for close or any other failures that can occur. These events can occur
naturally.

Fixes #40142Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 07006785
Pipeline #1728 passed with stage
in 46 minutes and 59 seconds
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.
......@@ -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 */
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment