1830-token-buckets 570 B

123456789
  1. o Major bugfixes:
  2. - The PerConnBWRate and Burst config options, along with the
  3. bwconnrate and bwconnburst consensus params, initialized each conn's
  4. token bucket values only when the connection is established. Now
  5. update them if the config options change, and update them every time
  6. we get a new consensus. Otherwise we can encounter an ugly edge
  7. case where we initialize an OR conn to client-level bandwidth,
  8. but then later the relay joins the consensus and we leave it
  9. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.