[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16540 [Onionoo]: Close the the updater's shared HttpUrlConnection socket if an exception occurs.
#16540: Close the the updater's shared HttpUrlConnection socket if an exception
occurs.
-------------------------+---------------------
Reporter: leeroy | Owner: karsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+---------------------
Comment (by leeroy):
I took a look at changing Onionoo to use metrics-lib. There are a couple
gotchas. DescriptorSource uses some data from DescriptorCollector when
writing in getStatsString. As a first attempt I made the
DescriptorDownloader inherit from DescriptorCollector. This required the
access changes described in metric-lib's DescriptorCollectorImpl. Here are
the changes.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16540#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs