linkerd2/proxy
Oliver Gould a3cb1e47a2
proxy: Record EOS when bodies are dropped (#1003)
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
2018-05-24 10:40:29 -07:00
..
benches proxy: Record HTTP latency at first data frame (#981) 2018-05-23 16:02:44 -07:00
controller-grpc proxy: Alter telemetry to use discrete instants (#980) 2018-05-22 14:57:00 -07:00
convert Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
futures-mpsc-lossy Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
router proxy/router: Implement LRU cache eviction (#925) 2018-05-10 19:06:31 -07:00
src proxy: Record EOS when bodies are dropped (#1003) 2018-05-24 10:40:29 -07:00
tests proxy: Upgrade Conduit to use the new version of Tokio (#944) 2018-05-17 16:38:15 -07:00
Cargo.toml proxy: Upgrade Conduit to use the new version of Tokio (#944) 2018-05-17 16:38:15 -07:00
Dockerfile proxy: Update to Rust 1.26.0 (#942) 2018-05-11 13:52:56 -07:00
assert_macro proxy: Unbreak process_start_time_seconds metric (#825) 2018-04-20 15:59:08 -07:00