Open Wonshtrum opened 6 months ago
To be rebased on main, this PR needs Kawa 6.7 published on crates.io, because this Kawa PR was needed and has sinced been merged: https://github.com/CleverCloud/kawa/pull/13
Todo:
lib/Cargo.toml
instead of the present dev workaround
In an effort to bring HTTP2 support into Sozu, we introduce Mux. Mux is a SessionState that replaces the current kawa_h1 HTTP State. Mux is able to handle HTTP1 and HTTP2 clients and backends as well as multiple backend connections. Mux operates on the level of kawa streams, separating the protocol details in self-contained units, and can seamlessly translate between HTTP1 and HTTP2.