summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-10 13:40:34 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-13 10:41:14 -0400
commit6be994fa717cf73e9cfcb63f49f2d335f2d39bb9 (patch)
treeb9e5329653b69a65e6dd9cc291b0606f91cd1e76 /src/or/connection.h
parenta38fd9bc5bf508d029ff2557311caeb487638968 (diff)
downloadtor-6be994fa717cf73e9cfcb63f49f2d335f2d39bb9.tar.gz
tor-6be994fa717cf73e9cfcb63f49f2d335f2d39bb9.zip
Ensure that global buckets are updated on configuration change
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 4a57bd311b..cfe31c3727 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -122,6 +122,7 @@ void connection_mark_all_noncontrol_connections(void);
ssize_t connection_bucket_write_limit(connection_t *conn, time_t now);
int global_write_bucket_low(connection_t *conn, size_t attempt, int priority);
void connection_bucket_init(void);
+void connection_bucket_adjust(const or_options_t *options);
void connection_bucket_refill(time_t now,
uint32_t now_ts);