ignore invalid headers

This commit is contained in:
Mike Dilger 2025-02-20 04:14:12 +13:00
parent 26d1f0505e
commit 9ca0f5b45c
No known key found for this signature in database
GPG Key ID: 47581A78D4329BA4

View File

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