Commit bff6d7a9 authored by David Goulet's avatar David Goulet 🐼
Browse files

relay: Use the right max queue size value in log



Fixes #40745

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

changes/ticket40745

0 → 100644
+3 −0
Original line number Diff line number Diff line
  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.
+1 −1
Original line number Diff line number Diff line
@@ -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;