diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2010-07-24 18:19:20 +0200 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2010-09-29 11:46:36 -0700 |
commit | c5b5643965f57520842756e16d7ca7e8ea1cb2f8 (patch) | |
tree | 0ca90954e287f806af54ed3dd969b2bd306ea761 /src/or/reasons.c | |
parent | caba3bc57e2895a7c51a87e23fa783b9c48892a5 (diff) | |
download | tor-c5b5643965f57520842756e16d7ca7e8ea1cb2f8.tar.gz tor-c5b5643965f57520842756e16d7ca7e8ea1cb2f8.zip |
Send control port events for timeouts.
We now differentiate between timeouts and cutoffs by the REASON string and
the PURPOSE string.
Diffstat (limited to 'src/or/reasons.c')
-rw-r--r-- | src/or/reasons.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/reasons.c b/src/or/reasons.c index ade9a3abfc..aa7972be5b 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -334,6 +334,8 @@ circuit_end_reason_to_control_string(int reason) return "NOPATH"; case END_CIRC_REASON_NOSUCHSERVICE: return "NOSUCHSERVICE"; + case END_CIRC_REASON_MEASUREMENT_EXPIRED: + return "MEASUREMENT_EXPIRED"; default: log_warn(LD_BUG, "Unrecognized reason code %d", (int)reason); return NULL; |