r13927@catbus: nickm | 2007-07-26 17:26:49 -0400

Fix router_choose_by_bandwidth to no longer be biases by floating-point roundoff issues.  This runs through the list of routers yet another time, and uses an additional bitfield, but this should be okay: the function did not appear in profiles before, and shouldnt start appearing now.


svn:r10939
This commit is contained in:
Nick Mathewson
2007-07-26 21:26:57 +00:00
parent b1c873182d
commit eed888a2b7
2 changed files with 25 additions and 8 deletions
+6
View File
@@ -85,6 +85,12 @@ Changes in version 0.2.0.3-alpha - 2007-??-??
field. "GETINFO address-mappings" always does the right thing.
- Use CRLF line endings properly in NS events.
o Minor bugfixes (misc):
- Choose perfectly fairly among routers when choosing by bandwidth and
weighting by fraction of bandwidth provided by exits. Previously,
we would choose with only approximate fairness, and correct ourselves
if we ran off the end of the list. [Bugfix on 0.1.2.x]
Changes in version 0.1.2.15 - 2007-07-17
o Major bugfixes (compilation):