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/or.h | |
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/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 2399ecff39..6c398b7dcb 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -614,6 +614,10 @@ typedef enum { /* Negative reasons are internal: we never send them in a DESTROY or TRUNCATE * call; they only go to the controller for tracking */ +/** Our post-timeout circuit time measurement period expired. + * We must give up now */ +#define END_CIRC_REASON_MEASUREMENT_EXPIRED -3 + /** We couldn't build a path for this circuit. */ #define END_CIRC_REASON_NOPATH -2 /** Catch-all "other" reason for closing origin circuits. */ |