diff --git a/src/globals.rs b/src/globals.rs index 1940e36..f316de5 100644 --- a/src/globals.rs +++ b/src/globals.rs @@ -40,6 +40,7 @@ lazy_static! { let (shutting_down, _) = tokio::sync::watch::channel(false); let mut http1builder = http1::Builder::new(); + http1builder.ignore_invalid_headers(true); http1builder.keep_alive(true); http1builder.timer(TokioTimer::new()); http1builder.header_read_timeout(Duration::from_secs(5));