[tor-bugs] #16540 [Onionoo]: Close the the updater's shared HttpUrlConnection socket if an exception occurs.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 12 15:51:08 UTC 2015


#16540: Close the the updater's shared HttpUrlConnection socket if an exception
occurs.
-------------------------+----------------------------
     Reporter:  leeroy   |      Owner:  karsten
         Type:  defect   |     Status:  needs_revision
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+----------------------------

Comment (by leeroy):

 It does.

 That first revision was an attempt to avoid changing metrics-lib. Clearly
 it's a mess. It sounds like you agree so I went back and improved the
 utility of DecsriptorCollectorImpl for a general case (realized, for
 example, using Onionoo). This next version uses the improved utility to
 reduce code clutter.

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


More information about the tor-bugs mailing list