Bug Report
Version: latest
Platform: all (linux)
Crates
http_body, hyper, h2
Description
maybe Streaming::message need to handle h2 error?
|
pub async fn message(&mut self) -> Result<Option<T>, Status> { |
called from here
|
if let Some(trailers) = body.trailers().await? { |
I expected to see this happen: Code::Cancelled, message: stream no longer needed
Instead, this happened: code: Unknown, message: "error reading a body from connection: stream error received: stream no longer needed
Todo add minimal reproduce example