[tor-bugs] #25793 [Core Tor/Tor]: Refactor refactored token bucket API to be more generic
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Apr 13 17:13:57 UTC 2018
#25793: Refactor refactored token bucket API to be more generic
---------------------------------+------------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 034-roadmap-subtask | Actual Points:
Parent ID: #25373 | Points:
Reviewer: dgoulet | Sponsor: Sponsor8-can
---------------------------------+------------------------------------
Changes (by nickm):
* status: needs_revision => needs_review
Comment:
Thanks! I've answered on the PR, fixing one issue and discussing another.
Note that the 32-bit timestamp only remains in the token_bucket_rw_t
layer: everything else is abstracted to not use it now. The only thing in
the "raw" layer that uses time is the refill_steps() function, which takes
a number of elapsed time units as an input.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25793#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list