aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/or_connection_st.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-10-20 13:26:19 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-10-20 13:26:19 +0300
commit19302a1dfd8da73ff86b0c36534221b71c501c32 (patch)
tree22fab1d6f4fbc963a0c263b2ea19357a92efdea5 /src/core/or/or_connection_st.h
parentf7adf3653ff313d45d70bed7c0fdcdd0d64f29ab (diff)
parentcb4cedae686bd227d42997840b3a6b0b3bc5e936 (diff)
downloadtor-19302a1dfd8da73ff86b0c36534221b71c501c32.tar.gz
tor-19302a1dfd8da73ff86b0c36534221b71c501c32.zip
Merge remote-tracking branch 'tor-gitlab/mr/148' into master
Diffstat (limited to 'src/core/or/or_connection_st.h')
-rw-r--r--src/core/or/or_connection_st.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/or/or_connection_st.h b/src/core/or/or_connection_st.h
index 8e012a6b85..253fe67020 100644
--- a/src/core/or/or_connection_st.h
+++ b/src/core/or/or_connection_st.h
@@ -74,6 +74,11 @@ struct or_connection_t {
unsigned int is_outgoing:1;
unsigned int proxy_type:3; /**< One of PROXY_NONE...PROXY_HAPROXY */
unsigned int wide_circ_ids:1;
+ /** True iff a failure on this connection indicates a posssible
+ * bootstrapping problem. We set this as true if we notice that this
+ * connection could handle a pending origin circuit, or if we launch it to
+ * handle an origin circuit. */
+ unsigned int potentially_used_for_bootstrapping:1;
/** True iff this connection has had its bootstrap failure logged with
* control_event_bootstrap_problem. */
unsigned int have_noted_bootstrap_problem:1;