diff options
author | Roger Dingledine <arma@torproject.org> | 2010-08-15 04:01:42 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-08-15 04:01:42 -0400 |
commit | 8d588e7b1a4fccffaa8318ed14d00a2ef615c53a (patch) | |
tree | 2c9580ada20875112cca1b120ade06d1f5a498fd /src/or/connection_or.h | |
parent | 2bc1842aaac1119a840b8ed3fa815c6f71053ac7 (diff) | |
download | tor-8d588e7b1a4fccffaa8318ed14d00a2ef615c53a.tar.gz tor-8d588e7b1a4fccffaa8318ed14d00a2ef615c53a.zip |
reinit per-conn token buckets on config or consensus change
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 8e3723c154..e4e99a6ea6 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -26,6 +26,8 @@ int connection_or_flushed_some(or_connection_t *conn); int connection_or_finished_flushing(or_connection_t *conn); int connection_or_finished_connecting(or_connection_t *conn); int connection_or_digest_is_known_relay(const char *id_digest); +void connection_or_update_token_buckets(smartlist_t *conns, + or_options_t *options); void connection_or_connect_failed(or_connection_t *conn, int reason, const char *msg); |