CleverCloud / kawa

Agnostic representation of HTTP1 and HTTP2, with zero-copy, made for Sōzu.
https://crates.io/crates/kawa
Apache License 2.0
18 stars 2 forks source link

Fix parse_url, add consumed field to Kawa, fix typo #8

Closed Wonshtrum closed 11 months ago

Wonshtrum commented 11 months ago

Fix a couple of atrocious URL parsing errors. Add some unittests. Add "consumed" field to kawa to tell if a kawa message has started transfering. This is important for proxies to know if a request is "safe" to be retried.