#21370: Onionoo should be more robust against unexpected data ---------------------------------+-------------------------- Reporter: iwakeh | Owner: metrics-team Type: enhancement | Status: new Priority: Medium | Milestone: Component: Metrics/Onionoo | Version: Severity: Normal | Keywords: Actual Points: | Parent ID: Points: | Reviewer: Sponsor: | ---------------------------------+-------------------------- Copied from comment 15 in #20440: Onionoo should be a little more robust against unexpected data in the `in/archive/` directory. It could simply skip the unrecognized descriptor and carry on with the next descriptor. That's `s/break/continue/` in [https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/onionoo/updater/DescriptorSource.java#n213 this line].
Good idea! This also needs a test implementation and at least a change to the log statement that just one descriptor is skipped. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21370> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs