hyperium / hyper

An HTTP library for Rust
https://hyper.rs
MIT License
14.08k stars 1.55k forks source link

Default HTTP/2 max_header_list_size to 16kb #3622

Closed seanmonstar closed 2 months ago

seanmonstar commented 2 months ago

The RFC doesn't specify a default. h2 has an "emergency" default that's quite high. It makes sense for hyper to pick a safer default to protect users who don't think about it. When checking other libraries, many set a default of either 8kb or 16kb.