aboutsummaryrefslogtreecommitdiff
path: root/src/core/or
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-08-03 16:49:05 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-08-03 16:49:05 +0300
commite069b0af4b5d5825a23f3bf6a601cc4738599be6 (patch)
treeb861220b09f0c1cb66c26a0c65c10f60e22ac499 /src/core/or
parentce57404a429b2505f5832954d8a66935a592461a (diff)
parent18d2c7c5d7eb0441d891fb7642fbbabde6c53cf2 (diff)
downloadtor-e069b0af4b5d5825a23f3bf6a601cc4738599be6.tar.gz
tor-e069b0af4b5d5825a23f3bf6a601cc4738599be6.zip
Merge branch 'maint-0.4.4'
Diffstat (limited to 'src/core/or')
-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 f389d21f6f..082420c4bc 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:
*/