mirror of https://github.com/linkerd/linkerd2.git
It appears that hyper does not necessarily poll bodies to completion, and instead simply drops a body as soon as `content-length` is reached (hyperium/hyper#1521). This change implements Drop for MeasuredBody such that the stream-end event is triggered if it had not been triggered previously. This ensures that response latencies and counts are recorded for HTTP/1 streams. Fixes #994 |
||
---|---|---|
.. | ||
benches | ||
controller-grpc | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml | ||
Dockerfile | ||
assert_macro |