summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-18 16:36:25 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-18 16:36:25 -0400
commit597cd893c557f8e05be98b6cade1b312fc6f0f8d (patch)
treee0739825eef13b029be94b06ea742d38f888aad4 /src/or/or.h
parent01407f9718a7b1eb4e43b46c2799a390551aad29 (diff)
parent7bb51fdd89feb5ea3eb7e0a0b76c0dda0e50a82e (diff)
downloadtor-597cd893c557f8e05be98b6cade1b312fc6f0f8d.tar.gz
tor-597cd893c557f8e05be98b6cade1b312fc6f0f8d.zip
Merge remote-tracking branch 'public/bug6174' into maint-0.2.4
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 a341109d4d..08b32d5ec3 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2945,6 +2945,10 @@ typedef struct origin_circuit_t {
*/
ENUM_BF(path_state_t) path_state : 3;
+ /* If this flag is set, we should not consider attaching any more
+ * connections to this circuit. */
+ unsigned int unusable_for_new_conns : 1;
+
/**
* Tristate variable to guard against pathbias miscounting
* due to circuit purpose transitions changing the decision