diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-27 15:58:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-27 15:58:43 -0400 |
commit | b0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91 (patch) | |
tree | 237ea0a4481d6ad83954959689ad3c52f6584e71 /src/or/or.h | |
parent | 0f395a7c064c314ca9dff4ac076b10461cc9b8c3 (diff) | |
download | tor-b0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91.tar.gz tor-b0bbe6b2f1d8f0f2c83565f94d8a7dc5c5f72a91.zip |
Report only the first bootstrap failure from an orconn
Otherwise, when we report "identity mismatch", we then later report
DONE when the connection gets closed.
Fixes bug 10431; bugfix on 0.2.1.1-alpha.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 38ab1767e0..1ecded97d1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1481,6 +1481,10 @@ typedef struct or_connection_t { unsigned int is_outgoing:1; unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */ unsigned int wide_circ_ids:1; + /** True iff this connection has had its bootstrap failure logged with + * control_event_bootstrap_problem. */ + unsigned int have_noted_bootstrap_problem:1; + uint16_t link_proto; /**< What protocol version are we using? 0 for * "none negotiated yet." */ |