diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-10 13:19:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-13 10:41:14 -0400 |
commit | a38fd9bc5bf508d029ff2557311caeb487638968 (patch) | |
tree | fb5d67e91da78cefa9374318b14182448a0c8981 /src/or/connection.h | |
parent | 9fced56ef1a6eae0ce01de310c871823998bd791 (diff) | |
download | tor-a38fd9bc5bf508d029ff2557311caeb487638968.tar.gz tor-a38fd9bc5bf508d029ff2557311caeb487638968.zip |
Replace the global buckets with token_bucket_t
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index acc63640d1..4a57bd311b 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -122,7 +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_refill(int seconds_elapsed, time_t now, +void connection_bucket_refill(time_t now, uint32_t now_ts); int connection_handle_read(connection_t *conn); |