[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #20514 [Metrics/CollecTor]: CollecTor' torperf module: replace HttpURLConnection
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs