From 07a515aaafc2dabc760b26eb749044603ed5b91e Mon Sep 17 00:00:00 2001 From: Michael Feil <63565275+michaelfeil@users.noreply.github.com> Date: Sat, 18 Jan 2025 18:16:35 -0800 Subject: [PATCH] Update lib.rs --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 03c2ca7..c99d8af 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -161,6 +161,7 @@ async fn download_async( let client = reqwest::Client::builder() // https://github.com/hyperium/hyper/issues/2136#issuecomment-589488526 .http2_keep_alive_timeout(Duration::from_secs(15)) + .tcp_keepalive(Duration::from_secs(15)) .build() .unwrap();