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> |
||
---|---|---|
.github | ||
proxy | ||
CONTRIBUTING.md | ||
Cargo.lock | ||
Cargo.toml | ||
DCO | ||
LICENSE |