summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-12-23 05:25:17 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-12-27 08:02:42 -0800
commit4b13c33c0c18c66cc39caba9b70005bbe43c6613 (patch)
tree2018c81afc87fd46f03d55aae74cef3123564819 /src/or/or.h
parentc6a8ee36fb42e5012704c2428772491ddf3057a6 (diff)
downloadtor-4b13c33c0c18c66cc39caba9b70005bbe43c6613.tar.gz
tor-4b13c33c0c18c66cc39caba9b70005bbe43c6613.zip
Don't close HS client circs which are 'almost connected' on timeout
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 63ff5c4b31..63eb64c814 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2607,6 +2607,13 @@ typedef struct origin_circuit_t {
* cannibalized circuits. */
unsigned int has_opened : 1;
+ /** Set iff this is a hidden-service circuit which has timed out
+ * according to our current circuit-build timeout, but which has
+ * been kept around because it might still succeed in connecting to
+ * its destination, and which is not a fully-connected rendezvous
+ * circuit. */
+ unsigned int hs_circ_has_timed_out : 1;
+
/** What commands were sent over this circuit that decremented the
* RELAY_EARLY counter? This is for debugging task 878. */
uint8_t relay_early_commands[MAX_RELAY_EARLY_CELLS_PER_CIRCUIT];