[tor-bugs] #28821 [Core Tor/Tor]: Introduce timer_is_scheduled() method and replace padding_scheduled_at_us
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 11 15:34:58 UTC 2018
#28821: Introduce timer_is_scheduled() method and replace padding_scheduled_at_us
-------------------------+-------------------------------------------------
Reporter: asn | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core | Version:
Tor/Tor | Keywords: wtf-pad, tor-relay, tor-cell,
Severity: Normal | padding, refactoring
Actual Points: | Parent ID: #28637
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
This came up during #28142 review:
https://github.com/torproject/tor/pull/461#discussion_r231889687
When #28142 gets merged, we can do a small refactoring by removing
`padding_scheduled_at_us` and replacing it with a new timer method that
returns true if the timer is scheduled, and false if it's disabled.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28821>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list