From c680c63f8aab1e972aaa4a4a3ab1dba32d02d6b8 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Tue, 2 Jun 2020 22:25:01 +0100 Subject: [PATCH] Disable connection pooling, as it seems to break stuff --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 131ca10..a848e1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,6 +111,7 @@ lazy_static! { .danger_accept_invalid_certs(true) // because some certs are out of date .user_agent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0") // so some sites (e.g. sciter.com) don't reject us .redirect(Policy::none()) + .max_idle_per_host(0) .timeout(time::Duration::from_secs(20)) .build().unwrap();