thruster-rs / Thruster

A fast, middleware based, web framework written in Rust
MIT License
1.06k stars 47 forks source link

bug: Add mitigation for slowloris attacks #200

Closed trezm closed 2 years ago

trezm commented 2 years ago

Adds a potential timeout to hyper-based servers (now will default to one hour) in order to drop long running connections. This can be changed on the app by changing the property, which is designated in milliseconds.