diff options
author | George Kadianakis <desnacked@riseup.net> | 2020-08-03 16:48:52 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-08-03 16:48:52 +0300 |
commit | 18d2c7c5d7eb0441d891fb7642fbbabde6c53cf2 (patch) | |
tree | 22d88e323dc8ae5d29456f5d2a244c306a6500ac /src/core/or | |
parent | 4c22050de14244418b1b3dbce124544e7fb40e4a (diff) | |
parent | ceb6585a4bc2beadde2fb194395711e72ee8559d (diff) | |
download | tor-18d2c7c5d7eb0441d891fb7642fbbabde6c53cf2.tar.gz tor-18d2c7c5d7eb0441d891fb7642fbbabde6c53cf2.zip |
Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.4.4
Diffstat (limited to 'src/core/or')
-rw-r--r-- | src/core/or/connection_st.h | 3 |
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: */ |