mirror of
https://github.com/mikedilger/chorus.git
synced 2026-01-03 06:15:33 +00:00
ignore invalid headers
This commit is contained in:
parent
26d1f0505e
commit
9ca0f5b45c
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user