transport: surface subsequent data when receiving non-gRPC header#8929
Open
chengxilo wants to merge 8 commits intogrpc:masterfrom
Open
transport: surface subsequent data when receiving non-gRPC header#8929chengxilo wants to merge 8 commits intogrpc:masterfrom
chengxilo wants to merge 8 commits intogrpc:masterfrom
Conversation
d42d1a5 to
3dc8573
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8929 +/- ##
==========================================
- Coverage 83.23% 83.20% -0.03%
==========================================
Files 417 417
Lines 32969 33018 +49
==========================================
+ Hits 27441 27472 +31
- Misses 4105 4112 +7
- Partials 1423 1434 +11
🚀 New features to boost your workflow:
|
…) instead to simplify the code.
easwars
reviewed
Feb 24, 2026
Author
|
Sorry for request a review while a data race detected 🥲. It's solved now. To clarify my previous commit:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7406
If content-type is not grpc, we read the next data frames till 1kb or endStream, and append the subsequent data to error message.
Example:
When receiving
Return
RELEASE NOTES:
[error]\n data: "[data]"