aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-07-24 18:19:20 +0200
committerMike Perry <mikeperry-git@fscked.org>2010-09-29 11:46:36 -0700
commitc5b5643965f57520842756e16d7ca7e8ea1cb2f8 (patch)
tree0ca90954e287f806af54ed3dd969b2bd306ea761 /src/or/or.h
parentcaba3bc57e2895a7c51a87e23fa783b9c48892a5 (diff)
downloadtor-c5b5643965f57520842756e16d7ca7e8ea1cb2f8.tar
tor-c5b5643965f57520842756e16d7ca7e8ea1cb2f8.tar.gz
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2399ecff3..6c398b7dc 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. */