grpc / grpc/grpc-java

Servers should send RST_STREAM(NO_ERROR) after trailers if client is not half-closed

Open
#2,162 4 comments 0 reactions 0 assignees View on GitHub
bug cross-language-gotchas
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

The HTTP/2 spec [calls out this case specifically](http://httpwg.org/specs/rfc7540.html#rfc.section.8.1) saying that servers MAY send the RST_STREAM. For gRPC, we are going to consider it more of a SHOULD, although clients still have to assume it is a MAY because intermediaries may in be play.

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file, test, or entry point. Start by locating the HTTP/2 trailer-handling path in grpc-java and review the linked HTTP/2 specification; done means sending RST_STREAM(NO_ERROR) after trailers when the client is not half-closed, with tests covering that state.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, java
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.