From 8c2704d9d2e79d8976947e1d9c302d2ed2b53e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Mon, 2 Sep 2024 14:15:46 +0200 Subject: [PATCH] fix panic for http2 tunnels --- src/tunnel/server/server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tunnel/server/server.rs b/src/tunnel/server/server.rs index 9782eba..0037626 100644 --- a/src/tunnel/server/server.rs +++ b/src/tunnel/server/server.rs @@ -423,6 +423,7 @@ impl WsServer { // http2 Some(b"h2") => { let mut conn_builder = http2::Builder::new(TokioExecutor::new()); + conn_builder.timer(TokioTimer::new()); if let Some(ping) = server.config.websocket_ping_frequency { conn_builder.keep_alive_interval(ping); }