[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs