thruster-rs / Thruster

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

bug: Explicitly allow upgrades within hyper server #204

Closed trezm closed 2 years ago

trezm commented 2 years ago

Adds a new method, with_upgrades to the hyper server and hyper ssl server. Default behavior is now to allow upgrades, but this can be turned off by passing false to this method.