[tor-bugs] #14859 [Onionoo]: Adapt Onionoo's parsing code for MaxMind's GeoLite2 City files to their new format

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 22 20:19:55 UTC 2015


#14859: Adapt Onionoo's parsing code for MaxMind's GeoLite2 City files to their new
format
-------------------------+-----------------
     Reporter:  karsten  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-----------------

Comment (by iwakeh):

 Find a quick patch attached.

 Please make sure the error handling makes sense.

 I basically added the exception to the error log message,
 so it would be easy to determine what exactly caused
 the lookup failure.

 In addition, I set the CodingErrorAction explicitly,
 in order to avoid relying on the current jdk implementation.

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


More information about the tor-bugs mailing list