diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-17 11:46:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-17 11:47:31 -0400 |
commit | 1356d51af62f839bb29eb150e6cb37edcef24d4f (patch) | |
tree | 8c7d735c63b29dc241b83f9547c48a41b5ef24ff /src/or/connection.h | |
parent | 993f5d284d3a61b7bc397ad3671dc0ebd44b891b (diff) | |
download | tor-1356d51af62f839bb29eb150e6cb37edcef24d4f.tar.gz tor-1356d51af62f839bb29eb150e6cb37edcef24d4f.zip |
Rename connection_bucket_refill to connection_bucket_refill_all
Also document its actual behavior
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index 83e2bd5438..a2dce2435f 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -123,8 +123,8 @@ 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); +void connection_bucket_refill_all(time_t now, + uint32_t now_ts); void connection_read_bw_exhausted(connection_t *conn, bool is_global_bw); void connection_write_bw_exhausted(connection_t *conn, bool is_global_bw); void connection_consider_empty_read_buckets(connection_t *conn); |