Opened 12 months ago

Last modified 7 months ago

#28821 new defect

Introduce timer_is_scheduled() method and replace padding_scheduled_at_us

Reported by: asn Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: wtf-pad, tor-relay, tor-cell, padding, refactoring
Cc: nickm Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor: Sponsor2

Description

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.

Child Tickets

Change History (7)

comment:1 Changed 11 months ago by mikeperry

Keywords: 041-proposed added

comment:2 Changed 11 months ago by mikeperry

Points: 1

comment:3 Changed 11 months ago by mikeperry

Priority: MediumLow

comment:4 Changed 11 months ago by nickm

Sponsor: Sponsor2

comment:5 Changed 11 months ago by nickm

Parent ID: #28637#28631

Reparent children of #28637 into #28631

comment:6 Changed 10 months ago by mikeperry

Keywords: 041-proposed removed

Take some wtf-pad stuff out of 041-proposed

comment:7 Changed 7 months ago by mikeperry

Parent ID: #28631
Note: See TracTickets for help on using tickets.