aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-17 12:05:39 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-17 12:12:07 -0400
commit9af4cd6f31dd9cbfaee526f2042aa7fa501338ef (patch)
tree3dc278234ab6822bbf2dd441e381d0c48d679c0b /changes
parentb36c450b572b561c615f0c6501664be17290318a (diff)
downloadtor-9af4cd6f31dd9cbfaee526f2042aa7fa501338ef.tar.gz
tor-9af4cd6f31dd9cbfaee526f2042aa7fa501338ef.zip
Refactor responsibility for checking global write bucket emptiness
We used to do this 10x per second in connection_buckets_refill(); instead, we now do it when the bucket becomes empty. This change is part of the work of making connection_buckets_refill() obsolete. Closes ticket 25828; bugfix on 0.2.3.5-alpha.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug258287
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug25828 b/changes/bug25828
new file mode 100644
index 0000000000..45cd1f4ae8
--- /dev/null
+++ b/changes/bug25828
@@ -0,0 +1,7 @@
+ o Minor bugfixes (bandwidth management):
+ - Consider ourselves "low on write bandwidth" if we have exhausted our
+ write bandwidth some time in the last second. This was the
+ documented behavior before, but the actual behavior was to change
+ this value every TokenBucketRefillInterval. Fixes bug 25828; bugfix on
+ 0.2.3.5-alpha.
+