aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/entry_connection_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/entry_connection_st.h')
-rw-r--r--src/core/or/entry_connection_st.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/or/entry_connection_st.h b/src/core/or/entry_connection_st.h
index 500de7521b..a9484bece2 100644
--- a/src/core/or/entry_connection_st.h
+++ b/src/core/or/entry_connection_st.h
@@ -96,6 +96,10 @@ struct entry_connection_t {
* the exit has sent a CONNECTED cell) and we have chosen to use it.
*/
unsigned int may_use_optimistic_data : 1;
+
+ /** True iff this is a connection to a HS that has PoW defenses enabled,
+ * so we know not to apply the usual SOCKS timeout. */
+ unsigned int hs_with_pow_conn : 1;
};
/** Cast a entry_connection_t subtype pointer to a edge_connection_t **/