Commit 16351d65 authored by David Goulet's avatar David Goulet 🐼
Browse files

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 #40142

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 07006785
Loading
Loading
Loading
Loading

changes/ticket40142

0 → 100644
+3 −0
Original line number Diff line number Diff line
  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.
+2 −2
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ 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 "
      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 */
    }