bytedance / g3

Enterprise-oriented Generic Proxy Solutions
Apache License 2.0
472 stars 35 forks source link

g3-http: set transfer encoding correctly after adapted #383

Closed zh-jq closed 4 days ago

codecov-commenter commented 5 days ago

Codecov Report

Attention: Patch coverage is 77.45098% with 23 lines in your changes missing coverage. Please review.

Project coverage is 48.95%. Comparing base (e57c900) to head (d30dcf6). Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
lib/g3-http/src/client/response.rs 77.77% 4 Missing :warning:
lib/g3-http/src/client/transparent.rs 78.94% 4 Missing :warning:
lib/g3-icap-client/src/reqmod/h1/bidirectional.rs 25.00% 3 Missing :warning:
lib/g3-types/src/net/http/header/value.rs 0.00% 3 Missing :warning:
lib/g3-http/src/server/request.rs 88.23% 2 Missing :warning:
lib/g3-http/src/server/transparent.rs 88.23% 2 Missing :warning:
lib/g3-icap-client/src/reqmod/h1/recv_request.rs 50.00% 2 Missing :warning:
lib/g3-icap-client/src/respmod/h1/bidirectional.rs 0.00% 2 Missing :warning:
lib/g3-icap-client/src/respmod/h1/recv_response.rs 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #383 +/- ## ========================================== + Coverage 47.33% 48.95% +1.61% ========================================== Files 1091 1091 Lines 98773 98814 +41 ========================================== + Hits 46759 48378 +1619 + Misses 52014 50436 -1578 ``` | [Flag](https://app.codecov.io/gh/bytedance/g3/pull/383/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bytedance) | Coverage Δ | | |---|---|---| | [g3proxy](https://app.codecov.io/gh/bytedance/g3/pull/383/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bytedance) | `48.96% <77.45%> (+1.61%)` | :arrow_up: | | [lib](https://app.codecov.io/gh/bytedance/g3/pull/383/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bytedance) | `25.39% <0.98%> (-0.03%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bytedance#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: