aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/http/curl_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/http/curl_downloader.rs')
-rw-r--r--crates/shirabe/src/util/http/curl_downloader.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/http/curl_downloader.rs b/crates/shirabe/src/util/http/curl_downloader.rs
index 6a6a1d66..f698fc25 100644
--- a/crates/shirabe/src/util/http/curl_downloader.rs
+++ b/crates/shirabe/src/util/http/curl_downloader.rs
@@ -222,8 +222,6 @@ impl CurlDownloader {
// PHP logs the proxy in the "Downloading" line; resolving it here keeps that message
// faithful even though reqwest does not yet apply the proxy (see send_once TODO).
let using_proxy = ProxyManager::get_instance()
- .lock()
- .unwrap()
.as_ref()
.map(|pm| pm.get_proxy_for_request(url))
.transpose()