aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-18 00:59:46 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-18 00:59:46 +0000
commit388ac4126a1fbd95dec063eec2740bb7ebf1cfa3 (patch)
tree46a5cfee345f134d603c99fd39c23c5d7a1cc92e /src/or/or.h
parenta8444c6f53b22387ee86c50e899fd04b6f826659 (diff)
downloadtor-388ac4126a1fbd95dec063eec2740bb7ebf1cfa3.tar
tor-388ac4126a1fbd95dec063eec2740bb7ebf1cfa3.tar.gz
If we are using an exit enclave and we can't connect, e.g. because
its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 5700221fa..ff3a26e65 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -656,6 +656,8 @@ struct connection_t {
/** Nickname of planned exit node -- used with .exit support. */
char *chosen_exit_name;
+ /** If 1, and we fail to reach the chosen exit, stop requiring it. */
+ unsigned int chosen_exit_optional:1;
/* Used only by OR connections: */
tor_tls_t *tls; /**< TLS connection state (OR only.) */