drop proxied client earlier

This commit is contained in:
monosans
2025-04-29 11:49:26 +03:00
parent 2ea5ea8594
commit cb8278cbff
+1
View File
@@ -97,6 +97,7 @@ impl Proxy {
})?
.error_for_status()
.wrap_err("Got error HTTP status code when checking proxy")?;
drop(client);
self.timeout = Some(start.elapsed());
self.exit_ip =
match config.check_website_type {