From 633bb82899218623c7b869f035aeff0353d0a2e6 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sat, 13 Jul 2024 10:22:55 +1200 Subject: [PATCH] Stop supporting TCP half_close (this might be the thing leaving hanging connections) --- src/globals.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/globals.rs b/src/globals.rs index 373b1f1..b9de435 100644 --- a/src/globals.rs +++ b/src/globals.rs @@ -38,7 +38,6 @@ lazy_static! { let (shutting_down, _) = tokio::sync::watch::channel(false); let mut http1builder = http1::Builder::new(); - http1builder.half_close(true); http1builder.keep_alive(true); http1builder.timer(TokioTimer::new()); http1builder.header_read_timeout(Duration::from_secs(5));