containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
197 stars 47 forks source link

[master] Fix the bug caused by oversized packets #203

Closed Tim-Zhang closed 1 year ago

Tim-Zhang commented 1 year ago

Fixes: https://github.com/containerd/ttrpc-rust/issues/198

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 20.00% and project coverage change: -0.01 :warning:

Comparison is base (cc6b187) 24.42% compared to head (3ef0e4e) 24.42%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #203 +/- ## ========================================== - Coverage 24.42% 24.42% -0.01% ========================================== Files 17 16 -1 Lines 2526 2645 +119 ========================================== + Hits 617 646 +29 - Misses 1909 1999 +90 ``` | [Impacted Files](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) | Coverage Δ | | |---|---|---| | [src/asynchronous/client.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2FzeW5jaHJvbm91cy9jbGllbnQucnM=) | `0.00% <0.00%> (ø)` | | | [src/asynchronous/connection.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2FzeW5jaHJvbm91cy9jb25uZWN0aW9uLnJz) | `0.00% <ø> (ø)` | | | [src/asynchronous/server.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2FzeW5jaHJvbm91cy9zZXJ2ZXIucnM=) | `0.00% <0.00%> (ø)` | | | [src/asynchronous/stream.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2FzeW5jaHJvbm91cy9zdHJlYW0ucnM=) | `0.00% <0.00%> (ø)` | | | [src/common.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2NvbW1vbi5ycw==) | `35.57% <ø> (ø)` | | | [src/error.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL2Vycm9yLnJz) | `38.46% <0.00%> (-17.10%)` | :arrow_down: | | [src/sync/channel.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL3N5bmMvY2hhbm5lbC5ycw==) | `0.00% <0.00%> (ø)` | | | [src/sync/client.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL3N5bmMvY2xpZW50LnJz) | `0.00% <0.00%> (ø)` | | | [src/sync/server.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL3N5bmMvc2VydmVyLnJz) | `0.00% <0.00%> (ø)` | | | [src/sync/utils.rs](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-c3JjL3N5bmMvdXRpbHMucnM=) | `0.00% <0.00%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/containerd/ttrpc-rust/pull/203/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.