diff options
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 8f7cb3e192..78fcbb3df9 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -909,6 +909,7 @@ _circuit_mark_for_close(circuit_t *circ, int reason, int line, * are closing because the circuit is getting torn down. No need * to send an end cell. */ conn->_base.edge_has_sent_end = 1; + conn->end_reason = END_STREAM_REASON_DESTROY; connection_mark_for_close(TO_CONN(conn)); } conn->on_circuit = NULL; |