From abf3f1718d26f80fe480ee40dbbf2a330c51aaac Mon Sep 17 00:00:00 2001 From: Caio Date: Sat, 6 Jun 2026 15:16:26 -0300 Subject: [PATCH] [Experiment] Modify linger parameter in HTTP/2 (WTX) --- frameworks/wtx-http2/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/wtx-http2/src/main.rs b/frameworks/wtx-http2/src/main.rs index 116af3a3..ccf0a4b8 100644 --- a/frameworks/wtx-http2/src/main.rs +++ b/frameworks/wtx-http2/src/main.rs @@ -24,7 +24,7 @@ fn main() { ("/baseline2", get(endpoint_baseline2)), ("/json/{count}", get(endpoint_json)), )).unwrap(); - let _rslt = ServerFrameworkBuilder::new(HttpRecvParams::with_permissive_params(), router) + let _rslt = ServerFrameworkBuilder::new(HttpRecvParams::with_permissive_params().set_linger(false), router) .with_conn_aux(move || Ok(ConnAux { dataset: dataset_thread.clone() })) .tokio( "0.0.0.0:8082",