summaryrefslogtreecommitdiff
path: root/src/core/or/connection_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/connection_st.h')
-rw-r--r--src/core/or/connection_st.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/connection_st.h b/src/core/or/connection_st.h
index 55d94d9451..685c9f89f4 100644
--- a/src/core/or/connection_st.h
+++ b/src/core/or/connection_st.h
@@ -69,6 +69,9 @@ struct connection_t {
/** True if connection_handle_write is currently running on this connection.
*/
unsigned int in_connection_handle_write:1;
+ /** If true, then we treat this connection as remote for the purpose of
+ * rate-limiting, no matter what its address is. */
+ unsigned int always_rate_limit_as_remote:1;
/* For linked connections:
*/