diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-08-29 12:55:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-08-29 13:33:31 -0400 |
commit | 0de8afd8f545b4104ffb05d307b019cdf5aa505a (patch) | |
tree | 2a24622fb0e3d6f076e0fa20447e8988f169f05e /changes | |
parent | 38881173188209db0bb9dd40bacc48aa1883f5e4 (diff) | |
download | tor-0de8afd8f545b4104ffb05d307b019cdf5aa505a.tar tor-0de8afd8f545b4104ffb05d307b019cdf5aa505a.tar.gz |
Split out rephist parts of buckets_decrement
For bufferevents, we had all of connection_buckets_decrement() stubbed
out. But that's not actually right! The rephist_* parts were
essential for, inter alia, recording our own bandwidth. This patch
splits out the rephist parts of connection_buckets_decrement() into their
own function, and makes the bufferevent code call that new function.
Fixes bug 3803, and probably 3824 and 3826 too. Bugfix on 0.2.3.1-alpha.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug3803 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug3803 b/changes/bug3803 new file mode 100644 index 000000000..2d50f0cde --- /dev/null +++ b/changes/bug3803 @@ -0,0 +1,4 @@ + o Major bugfixes (bufferevents): + - Correctly record the bytes we've read and written when using + bufferevents, so that we can include them in our bandwidth history + and advertised bandwidth. Fixes bug 3803; bugfix on 0.2.3.1-alpha. |