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/feature | |
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/feature')
-rw-r--r-- | src/feature/relay/ext_orport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/relay/ext_orport.c b/src/feature/relay/ext_orport.c index cff5f42cc7..2cf30262f5 100644 --- a/src/feature/relay/ext_orport.c +++ b/src/feature/relay/ext_orport.c @@ -494,6 +494,10 @@ connection_ext_or_handle_cmd_useraddr(connection_t *conn, } conn->address = tor_addr_to_str_dup(&addr); + /* Now that we know the address, we don't have to manually override rate + * limiting. */ + conn->always_rate_limit_as_remote = 0; + return 0; } |