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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 13 22:57:54 UTC 2015


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

Comment (by leeroy):

 A potential bug may happen if DescriptorCollectorImpl is given an empty
 string instead of a remote directory. If this happens the fetch ''will''
 happen and return the directory contents. This probably isn't what you
 want to happen so the recently updated patch includes everything else plus
 a fix for this event.

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


More information about the tor-bugs mailing list