Skip to content

[chttp2] Experiments for rst_stream pushback#34642

Merged
ctiller merged 72 commits intogrpc:masterfrom
ctiller:rstpit
Oct 11, 2023
Merged

[chttp2] Experiments for rst_stream pushback#34642
ctiller merged 72 commits intogrpc:masterfrom
ctiller:rstpit

Conversation

@ctiller
Copy link
Copy Markdown
Member

@ctiller ctiller commented Oct 10, 2023

Experiment 1: On RST_STREAM: reduce MAX_CONCURRENT_STREAMS for one round trip.
Experiment 2: If a settings frame is outstanding with a lower MAX_CONCURRENT_STREAMS than is configured, and we receive a new incoming stream that would exceed the new cap, randomly reject it.

ctiller and others added 30 commits September 19, 2023 21:01
@ctiller ctiller added the release notes: no Indicates if PR should not be in release notes label Oct 10, 2023
@ctiller ctiller merged commit 6a49e95 into grpc:master Oct 11, 2023
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Oct 11, 2023
@hellt
Copy link
Copy Markdown

hellt commented Oct 20, 2023

Does this address GHSA-qppj-fm5r-hxr3 ?
It seems there is no clear answer so far if grpc/grpc was/is affected by this CVE

ctiller added a commit to ctiller/grpc that referenced this pull request Oct 20, 2023
Experiment 1: On RST_STREAM: reduce MAX_CONCURRENT_STREAMS for one round
trip.
Experiment 2: If a settings frame is outstanding with a lower
MAX_CONCURRENT_STREAMS than is configured, and we receive a new incoming
stream that would exceed the new cap, randomly reject it.

---------

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/none imported Specifies if the PR has been imported to the internal repository lang/core per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants