linkerd2/proxy
Eliza Weisman 6433ce060d
proxy: Fix end events not firing when a stream is ended by a DATA frame (#957)
A recent upstream change in `tower-h2` (tower-rs/tower-h2@d9b3140) caused some
HTTP/2 streams that were previously terminated by TRAILERS frames to be 
terminated by empty DATA frames with the end of stream bit set, instead.

This broke some tests in my dev branch for #944, as our test server also uses
`tower-h2`, and some of the metrics tests were no longer seeing the expected
`StreamResponseEnd` events due to this change. This issue may also occur in
other cases, resulting in incorrect metrics.

This PR changes `MeasuredBody::poll_data` to trigger the Stream End event if
it sees a DATA frame that ends the stream.

Fixes #954 

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-05-16 16:24:29 -07:00
..
benches proxy: Fix metrics constructor in benches (#881) 2018-04-30 17:48:07 -07:00
controller-grpc proxy: Support destination label matching for tap (#817) 2018-04-19 17:58:45 -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: Fix end events not firing when a stream is ended by a DATA frame (#957) 2018-05-16 16:24:29 -07:00
tests proxy: Make `outbound_updates_newer_services` test forward-compatible (#939) 2018-05-11 14:36:03 -07:00
Cargo.toml proxy: Parse units with duration configurations (#909) 2018-05-08 13:54:12 -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