mirror of https://github.com/linkerd/linkerd2.git
In the h1-h2 glue code, we incorrectly called `is_empty()` to determine if an H1 stream had ended. `is_empty` only returns true if there was no body at all (rather than if the body has been fully consumed). By changing this to call `hyper::body::Payload::is_end_stream`, h1 bodies now behave the same as h2 bodies. Relates to #994 |
||
---|---|---|
.. | ||
benches | ||
controller-grpc | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml | ||
Dockerfile | ||
assert_macro |