[tor-bugs] #20510 [Metrics/Metrics website]: Use metrics-lib's getHidserv* methods in Metrics' hidserv module

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 31 20:36:10 UTC 2016


#20510: Use metrics-lib's getHidserv* methods in Metrics' hidserv module
-----------------------------------------+-----------------
     Reporter:  karsten                  |      Owner:
         Type:  enhancement              |     Status:  new
     Priority:  Medium                   |  Milestone:
    Component:  Metrics/Metrics website  |    Version:
     Severity:  Normal                   |   Keywords:
Actual Points:                           |  Parent ID:
       Points:                           |   Reviewer:
      Sponsor:                           |
-----------------------------------------+-----------------
 When Metrics' hidserv module was written in March 2015, metrics-lib did
 not support hidserv-* lines in extra-info descriptors, so it had to
 implement its own parsing code and parse extra-info descriptors a second
 time.

 This has changed in December 2015 with metrics-lib 1.1.0 adding "support
 for hidden-service statistics in extra-info descriptors".

 It's time to replace that custom parsing code in Metrics' hidserv module
 and use the methods provided by metrics-lib.

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


More information about the tor-bugs mailing list