mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Backport to 0.2.0.x: Apply rovv's fix for bug 824.
svn:r16976
This commit is contained in:
+1
-1
@@ -1718,7 +1718,7 @@ connection_bucket_refill(int seconds_elapsed, time_t now)
|
||||
tor_assert(seconds_elapsed >= 0);
|
||||
|
||||
write_buckets_empty_last_second =
|
||||
global_relayed_write_bucket == 0 || global_write_bucket == 0;
|
||||
global_relayed_write_bucket <= 0 || global_write_bucket <= 0;
|
||||
|
||||
/* refill the global buckets */
|
||||
connection_bucket_refill_helper(&global_read_bucket,
|
||||
|
||||
Reference in New Issue
Block a user