bug23318 664 B

  1. o Minor bugfixes (path selection):
  2. - When selecting relays by bandwidth, avoid a rounding error that
  3. could sometimes cause load to be imbalanced incorrectly. Previously,
  4. we would always round upwards; now, we round towards the nearest
  5. integer. This had the biggest effect when a relay's weight adjustments
  6. should have given it weight 0, but it got weight 1 instead.
  7. Fixes bug 23318; bugfix on
  8. - When calculating the fraction of nodes that have descriptors, and all
  9. all nodes in the network have zero bandwidths, count the number of nodes
  10. instead.
  11. Fixes bug 23318; bugfix on