[tor-bugs] #20515 [Metrics/CollecTor]: CollecTor's relaydescs module should avoid httpurlconnection
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Nov 1 11:00:02 UTC 2016
#20515: CollecTor's relaydescs module should avoid httpurlconnection
-----------------------------------+--------------------------
Reporter: iwakeh | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/CollecTor | Version:
Severity: Normal | Keywords: metrics-help
Actual Points: | Parent ID: #8799
Points: | Reviewer:
Sponsor: |
-----------------------------------+--------------------------
See #20323:
RelayDescriptorDownloader should use
{{{
#!java
try (InputStream is = new URL(baseUrl + "/" + filepathname)
.openStream()) {
Files.copy(is, tempDestinationFile.toPath());
...
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20515>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list