hyperium / hyper

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

proto/h1/server: avoid copy-allocation in request path parsing #3575

Closed lucab closed 7 months ago

lucab commented 7 months ago

This tweaks the request path parsing logic (in server role) in order to perform zero-copy URI parsing.

Closes: https://github.com/hyperium/hyper/issues/3574