Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not open a stream on a connection that received GOAWAY #2408

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

violetagg
Copy link
Member

According to the specification
https://www.rfc-editor.org/rfc/rfc9113.html#section-6.8

Receivers of a GOAWAY frame MUST NOT open additional streams on the connection

Reactor Netty by default is running with graceful shutdown which means that GOAWAY
might be received and the connection to be still alive.

Http2Pool should consider this use case and stop offering a connection that received GOAWAY.

Fixes #2396

According to the specification
https://www.rfc-editor.org/rfc/rfc9113.html#section-6.8

`Receivers of a GOAWAY frame MUST NOT open additional streams on the connection`

Reactor Netty by default is running with graceful shutdown which means that `GOAWAY`
might be received and the connection to be still alive.

`Http2Pool` should consider this use case and stop offering a connection that received `GOAWAY`.

Fixes #2396
Copy link
Member

@simonbasle simonbasle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@violetagg
Copy link
Member Author

@simonbasle Thanks for the review!

@violetagg violetagg merged commit 13d6c98 into 1.0.x Jul 28, 2022
@violetagg violetagg deleted the issue-2396 branch July 28, 2022 08:54
violetagg added a commit that referenced this pull request Jul 28, 2022
violetagg added a commit that referenced this pull request Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
2 participants