aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/command.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-07-27 11:33:19 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-07-27 11:33:19 -0400
commite618a7e4456ae6a1bcb96d8d5f2c972796dd515a (patch)
treed9878a1c8ff69547f4008ae7e37d5651528246bd /src/core/or/command.c
parent5260b4ef34da7a70eef09df121519ec31d37d9e0 (diff)
parent691e542fd520edb8a1371eb42fa7b11b296616b9 (diff)
downloadtor-e618a7e4456ae6a1bcb96d8d5f2c972796dd515a.tar.gz
tor-e618a7e4456ae6a1bcb96d8d5f2c972796dd515a.zip
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat (limited to 'src/core/or/command.c')
-rw-r--r--src/core/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/command.c b/src/core/or/command.c
index 1343177db4..c08b255914 100644
--- a/src/core/or/command.c
+++ b/src/core/or/command.c
@@ -664,7 +664,7 @@ command_process_destroy_cell(cell_t *cell, channel_t *chan)
* DESTROY cell down the circuit so relays can stop queuing in-flight
* cells for this circuit which helps with memory pressure. */
log_debug(LD_OR, "Received DESTROY cell from n_chan, closing circuit.");
- circuit_mark_for_close(circ, END_CIRC_REASON_TORPROTOCOL);
+ circuit_mark_for_close(circ, reason | END_CIRC_REASON_FLAG_REMOTE);
}
}
}