[tor-bugs] #19476 [Core Tor/Tor]: Use conditional intervals in heartbeat_callback

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 21 13:13:12 UTC 2016

#19476: Use conditional intervals in heartbeat_callback
     Reporter:  cypherpunks   |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
 In ticket:19454#comment:4 i suggested some rationale about the (now
 removed) comment in the heartbeat callback function.

 The attached patch uses the return value of `log_heartbeat` to choose
 between calling the callback after `HeartbeatPeriod` number of seconds or
 on the next second.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19476>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list