[tor-bugs] #32058 [Core Tor/Tor]: mainloop: make periodic events restartable

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 16 19:48:36 UTC 2019


#32058: mainloop: make periodic events restartable
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.2.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.4.1-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  042-should, regression?,             |  Actual Points:  0.1
  035-backport, 040-backport, 041-backport,      |
  042-backport, BugSmashFund                     |
Parent ID:                                       |         Points:  0.5
 Reviewer:  nickm                                |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by dgoulet):

 * status:  needs_revision => needs_review


Comment:

 Replying to [comment:5 nickm]:
 >   * Make `periodic_event_disconnect()` itself call
 `periodic_event_disable()`, so that we can't forget to do so.

 I prefer this approach.

 I've updated 035 PR with a fixup commit. With this, it merges nicely
 forward up to master :) (as in PR 1410 can be ignored now).

 PR: ​https://github.com/torproject/tor/pull/1409
 Branch: `ticket32058_035_01

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32058#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list