diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-10-31 16:53:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-11-01 10:04:48 -0400 |
commit | 5de88dda0acda6914bacd1e14c2e037798c5d9d9 (patch) | |
tree | af0daa62ea1e2512d51b05c67a3f17f99cc4b89e /src/or/command.c | |
parent | 0de71bf8eb5031b1c6539ea48627a938e200b5da (diff) | |
download | tor-5de88dda0acda6914bacd1e14c2e037798c5d9d9.tar.gz tor-5de88dda0acda6914bacd1e14c2e037798c5d9d9.zip |
circuit_build_failed: distinguish "got DESTROY" case
Roger spotted this on tor-dev in his comments on proposal 221.
We etect DESTROY vs everything else, since arma likes network
timeout indicating failure but not overload indicating failure.
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c index 699b02fb47..51d07b0485 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -499,6 +499,7 @@ command_process_destroy_cell(cell_t *cell, channel_t *chan) log_debug(LD_OR,"Received for circID %u.",(unsigned)cell->circ_id); reason = (uint8_t)cell->payload[0]; + circ->received_destroy = 1; if (!CIRCUIT_IS_ORIGIN(circ) && cell->circ_id == TO_OR_CIRCUIT(circ)->p_circ_id) { |