aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-09-17 03:19:29 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-10-02 12:49:34 -0700
commiteaed37d14c6e1dc93a392f62ef2e501f75e4878a (patch)
treee2c160b482740d3bc34a885eda9a450736f094e6 /src/or/or.h
parent6803c1c371b9cfea30c32dc9eaf3f976614a103c (diff)
downloadtor-eaed37d14c6e1dc93a392f62ef2e501f75e4878a.tar
tor-eaed37d14c6e1dc93a392f62ef2e501f75e4878a.tar.gz
Record intro point timeouts in rend_intro_point_t
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 31deb897c..32d4b112f 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3463,6 +3463,13 @@ typedef struct rend_intro_point_t {
extend_info_t *extend_info; /**< Extend info of this introduction point. */
crypto_pk_env_t *intro_key; /**< Introduction key that replaces the service
* key, if this descriptor is V2. */
+
+ /** (Client side only) Flag indicating that a timeout has occurred
+ * after sending an INTRODUCE cell to this intro point. After a
+ * timeout, an intro point should not be tried again during the same
+ * hidden service connection attempt, but it may be tried again
+ * during a future connection attempt. */
+ unsigned int timed_out : 1;
} rend_intro_point_t;
/** Information used to connect to a hidden service. Used on both the