hyperium / hyper

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

Backport the split server conn modules #3079

Closed seanmonstar closed 1 year ago

seanmonstar commented 1 year ago

In 1.0, we've split hyper::server::conn::Connection into per-version types. To ease upgrading (see https://github.com/hyperium/hyper/issues/3052), we can backport the addition of the two modules, hyper::server::conn::{http1, http2}. With them in place, we could then add a deprecation to hyper::server::conn::Connection.

This is very similar in scope to #3053

seanmonstar commented 1 year ago

This was done in #3102.