transport: surface subsequent data when receiving non-gRPC header#8929
transport: surface subsequent data when receiving non-gRPC header#8929chengxilo wants to merge 30 commits into
Conversation
d42d1a5 to
3dc8573
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8929 +/- ##
==========================================
+ Coverage 83.11% 83.20% +0.09%
==========================================
Files 413 418 +5
Lines 33135 33732 +597
==========================================
+ Hits 27540 28068 +528
- Misses 4190 4246 +56
- Partials 1405 1418 +13
🚀 New features to boost your workflow:
|
…) instead to simplify the code.
|
Sorry for request a review while a data race detected 🥲. It's solved now. To clarify my previous commit:
|
f3fa621 to
df12e44
Compare
I followed most of the suggestion but diverged on one point: instead of adding a
The reason is that closeStream can be called from multiple paths, not just from The race on the Also I removed |
|
This PR is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
|
@arjan-bal : Over to you for second review. |
5717c78 to
3db4320
Compare
3db4320 to
f81c45a
Compare
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]"