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); }