[tor-bugs] #20514 [Metrics/CollecTor]: CollecTor' torperf module: replace HttpURLConnection
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Nov 1 10:56:38 UTC 2016
#20514: CollecTor' torperf module: replace 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:
TorperfDownloader 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/20514>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list