grpc / grpc/grpc-rust

No error when streaming response is closed with RST_STREAM(NO_REASON)

Open
#2,547 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

## Bug Report

### Version

for sure 0.13.x and most likely 0.14.x as well

### Platform

linux

### Description

When a client receives a response stream through a proxy (e.g., Envoy), the client fails to recognize when the proxy terminates the connection due to a timeout. Envoy closes the stream with RST_STREAM(NO_REASON) on timeout. The client just silently closes the stream without any error being surfaced. If I am not mistaken this even goes against the GPR spec

"Status must be sent in Trailers even if the status code is OK." and trailers must always be present

Please take a look at #2543

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.