cppalliance / http_proto

HTTP/1 parsing and serialization algorithms using C++11
https://develop.http-proto.cpp.al/
Boost Software License 1.0
23 stars 10 forks source link

serializer chunk streaming #80

Closed cmazakas closed 7 months ago

cmazakas commented 7 months ago

Update the serializer's prepare() call to appropriately chunk output when appropriate.

cppalliance-bot commented 7 months ago

GCOVR code coverage report https://80.http-proto.prtest.cppalliance.org/gcovr/index.html
LCOV code coverage report https://80.http-proto.prtest.cppalliance.org/genhtml/index.html Coverage Diff https://80.http-proto.prtest.cppalliance.org/gcovr/coverage_diff.txt

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 96.36364% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 89.23%. Comparing base (c7056c4) to head (9e47704).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cppalliance/http_proto/pull/80/graphs/tree.svg?width=650&height=150&src=pr&token=IoZbqjUnBr&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance)](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ```diff @@ Coverage Diff @@ ## develop #80 +/- ## =========================================== + Coverage 88.22% 89.23% +1.01% =========================================== Files 78 77 -1 Lines 4314 4339 +25 =========================================== + Hits 3806 3872 +66 + Misses 508 467 -41 ``` | [Files](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) | Coverage Δ | | |---|---|---| | [include/boost/http\_proto/message\_view\_base.hpp](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?src=pr&el=tree&filepath=include%2Fboost%2Fhttp_proto%2Fmessage_view_base.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9odHRwX3Byb3RvL21lc3NhZ2Vfdmlld19iYXNlLmhwcA==) | `100.00% <ø> (ø)` | | | [include/boost/http\_proto/serializer.hpp](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?src=pr&el=tree&filepath=include%2Fboost%2Fhttp_proto%2Fserializer.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-aW5jbHVkZS9ib29zdC9odHRwX3Byb3RvL3NlcmlhbGl6ZXIuaHBw) | `97.43% <96.42%> (+24.70%)` | :arrow_up: | | [src/serializer.cpp](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?src=pr&el=tree&filepath=src%2Fserializer.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance#diff-c3JjL3NlcmlhbGl6ZXIuY3Bw) | `89.75% <96.29%> (+17.60%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/cppalliance/http_proto/pull/80/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Last update [c7056c4...9e47704](https://app.codecov.io/gh/cppalliance/http_proto/pull/80?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cppalliance).
cppalliance-bot commented 7 months ago

GCOVR code coverage report https://80.http-proto.prtest.cppalliance.org/gcovr/index.html
LCOV code coverage report https://80.http-proto.prtest.cppalliance.org/genhtml/index.html Coverage Diff https://80.http-proto.prtest.cppalliance.org/gcovr/coverage_diff.txt