You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… when it receives an unknown stream instead of resetting the stream.
Motivation:
When an HTTP/2 connection process an unnkown stream it should throw a GO_AWAY frame and close the connection as per RFC 7540. The current implementation instead sends a RST frame.
Modifications:
Change the HttpConnectionHandler behavior to throw an error instead of writing a rst frame, the error will trigger a GO_AWAY frame to be sent and then close the connection appropriately.
Result:
HttpConnectionHandler should send a GO_AWAY frame with PROTOCOL_ERROR when it receives an unknown stream and fixnetty#12974
Expected behavior
The server will send a GO_AWAY frame with a PROTOCOL_ERROR and close the connection (as per RFC 7540).
Actual behavior
The server sends a RST_STREAM instead.
Steps to reproduce
The
Http2ConnectionHandler#onStreamError
implementation resets the stream instead of sending a GO_AWAY frame.Minimal yet complete reproducer code (or URL to code)
N/A
Netty version
4.1.84.Final
JVM version (e.g.
java -version
)N/A
OS version (e.g.
uname -a
)N/A
The text was updated successfully, but these errors were encountered: