connection_edge_about_to_close(): Bug: (Harmless.) Edge connection (marked at ../src/core/or/circuitlist.c:2684)
This BUG log line was hit by dizum
(dirauth) and reported to us.
This code path is triggered by the OOM which closes directory connections if unlinked and too old on any circuits. So this is a normal path that will never send an END
cell so this BUG line shouldn't be.
Either we do send an END
or the more hackish way, we set edge_conn->edge_has_sent_end
before closing.