Opened 5 months ago

Closed 5 months ago

#26064 closed defect (implemented)

Use a mainloop timer to wake up from hibernation.

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: 034-roadmap-subtask, 034-triage-20180328, 034-included-20180328
Cc: Actual Points:
Parent ID: #25375 Points:
Reviewer: dgoulet Sponsor: Sponsor8-must

Description

In lieu of #25950, we can do a much simpler version: when we go dormant, schedule a timer to wake up at a later time.

Child Tickets

Change History (5)

comment:1 Changed 5 months ago by nickm

Reviewer: dgoulet
Status: assignedneeds_review

See branch ticket26064 with PR at https://github.com/torproject/tor/pull/100

comment:2 Changed 5 months ago by dgoulet

Status: needs_reviewneeds_revision

One single small comment. Feel free to merge afterwards on whatever you decide to do.

comment:3 Changed 5 months ago by nickm

Answered your comment, but wasn't sure if I understood? I think my code already does the check you suggest...

comment:4 Changed 5 months ago by dgoulet

Status: needs_revisionmerge_ready

Sorry about that, brain freeze there...

lgtm;

comment:5 Changed 5 months ago by nickm

Resolution: implemented
Status: merge_readyclosed

Merged!

Note: See TracTickets for help on using tickets.