diff options
author | David Goulet <dgoulet@torproject.org> | 2023-08-02 12:09:41 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-08-02 12:09:41 -0400 |
commit | 3ed37ae53cc161e56fe5ee05328fdd21f6c8812b (patch) | |
tree | c85bd740640a7e20358f57fc6aab449c4181004c | |
parent | 0c270735ef3d41eed68e9b8433f622eea82ca3a3 (diff) | |
download | tor-3ed37ae53cc161e56fe5ee05328fdd21f6c8812b.tar.gz tor-3ed37ae53cc161e56fe5ee05328fdd21f6c8812b.zip |
relay: Remove logging for a bug. It triggers a BUG() later
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r-- | src/core/or/relay.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/or/relay.c b/src/core/or/relay.c index 5336c2ea73..3af9435a76 100644 --- a/src/core/or/relay.c +++ b/src/core/or/relay.c @@ -2352,24 +2352,6 @@ connection_edge_package_raw_inbuf(edge_connection_t *conn, int package_partial, return -1; } - // Bug 40827: With conflux, we suspect marked circuits were getting here. - // We think we fixed it, but let's add a check and log sets if it still - // happens. - if (BUG(circ->marked_for_close)) { - log_warn(LD_BUG, - "called on circ that's already marked for close at %s:%d.", - circ->marked_for_close_file, circ->marked_for_close); - if (CIRCUIT_IS_CONFLUX(circ)) { - if (circ->conflux) { - conflux_log_set(circ->conflux, CIRCUIT_IS_ORIGIN(circ)); - } else { - log_warn(LD_BUG, " - circ is unlinked conflux"); - } - } - conn->end_reason = END_STREAM_REASON_INTERNAL; - return -1; - } - if (circuit_consider_stop_edge_reading(circ, cpath_layer)) return 0; |