Skip to content

[http2] Dont drop connections on metadata limit exceeded#32309

Merged
ctiller merged 4 commits intogrpc:masterfrom
ctiller:repeated_large_metadata
Feb 7, 2023
Merged

[http2] Dont drop connections on metadata limit exceeded#32309
ctiller merged 4 commits intogrpc:masterfrom
ctiller:repeated_large_metadata

Conversation

@ctiller
Copy link
Copy Markdown
Member

@ctiller ctiller commented Feb 7, 2023

If we get an error on a stream, all we need to do is cancel that stream.
If instead we get an error not associated with a stream, we should close the transport.

Current behavior was to just close the transport always, and this was a bad bug.

@ctiller ctiller requested a review from yashykt February 7, 2023 07:36
@ctiller ctiller added the release notes: no Indicates if PR should not be in release notes label Feb 7, 2023
@ctiller ctiller requested a review from soheilhy February 7, 2023 07:36
@ctiller ctiller changed the title [http] Dont drop connections on metadata limit exceeded [http2] Dont drop connections on metadata limit exceeded Feb 7, 2023
grpc_call_unref(s);

grpc_slice_unref(meta.value);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe also do a ping to make sure that the channel is still connected?

Automated fix for refs/heads/repeated_large_metadata
@ctiller ctiller merged commit 29d8bee into grpc:master Feb 7, 2023
@ctiller ctiller deleted the repeated_large_metadata branch February 7, 2023 16:27
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Feb 7, 2023
@ctiller ctiller added release notes: yes Indicates if PR needs to be in release notes and removed release notes: no Indicates if PR should not be in release notes labels Feb 8, 2023
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
* [http] Dont drop connections on metadata limit exceeded

* remove bad test

* Automated change: Fix sanity tests

---------

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
wanlin31 pushed a commit that referenced this pull request May 18, 2023
* [http] Dont drop connections on metadata limit exceeded

* remove bad test

* Automated change: Fix sanity tests

---------

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
This was referenced Feb 6, 2026
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: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants