upgraded wreq

This commit is contained in:
Simon
2026-09-07 13:00:19 +00:00
parent e37563e5bc
commit 5941a6e607
15 changed files with 145 additions and 78 deletions

View File

@@ -173,7 +173,7 @@ fn protocol_from_list_url(list_url: &str) -> Result<&'static str, ProxyParseErro
async fn verify_proxy(proxy: Proxy) -> Result<Proxy, ProxyParseError> {
let wreq_proxy = proxy.to_wreq_proxy()?;
let client = Client::builder()
.cert_verification(false)
.tls_cert_verification(false)
.build()
.map_err(|e| ProxyParseError::new(format!("failed to build http client: {e}")))?;