[tor-bugs] #24166 [Metrics/Library]: Make descriptor reading stopable

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 7 21:23:55 UTC 2017


#24166: Make descriptor reading stopable
---------------------------------+--------------------------
     Reporter:  iwakeh           |      Owner:  metrics-team
         Type:  enhancement      |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Library  |    Version:
     Severity:  Normal           |   Keywords:  metrics-2018
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 What would be the best way to not force reading of all descriptors?
 See #20412 comment:9 for background.

 Suggestion so far: create an `abortReading` method and after this method
 was called the reader's status is similar to a completed reading of
 descriptors, e.g., methods concerning stats don't throw ISEs anymore.

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


More information about the tor-bugs mailing list