trpc-group / trpc-cpp

A pluggable, high-performance RPC framework written in cpp
Other
280 stars 82 forks source link

BugFix: Fix the issue that the user fails to read data in the scenario where an HTTP chunked client encounters a disconnection immediately after completing data reception #100

Closed bochencwx closed 10 months ago

bochencwx commented 10 months ago

close #99

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4147869) 81.76052% compared to head (80b969c) 81.70742%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/100/graphs/tree.svg?width=650&height=150&src=pr&token=7csQnBLsa9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group)](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group) ```diff @@ Coverage Diff @@ ## main #100 +/- ## =================================================== - Coverage 81.76052% 81.70742% -0.05311% =================================================== Files 855 855 Lines 33899 33899 =================================================== - Hits 27716 27698 -18 - Misses 6183 6201 +18 ``` | [Files](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group) | Coverage Δ | | |---|---|---| | [trpc/stream/http/http\_client\_stream.h](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9zdHJlYW0vaHR0cC9odHRwX2NsaWVudF9zdHJlYW0uaA==) | `97.67442% <100.00000%> (+2.32558%)` | :arrow_up: | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/100/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group)