qicosmos / rest_rpc

modern C++(C++11), simple, easy to use rpc framework
MIT License
1.66k stars 365 forks source link

fix reconnect #123

Closed qicosmos closed 5 months ago

qicosmos commented 5 months ago

119

fix a bug

codecov-commenter commented 5 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (8863115) 46.82% compared to head (913c896) 48.55%.

Files Patch % Lines
tests/test_rest_rpc.cpp 90.47% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #123 +/- ## ========================================== + Coverage 46.82% 48.55% +1.73% ========================================== Files 166 166 Lines 7740 7740 ========================================== + Hits 3624 3758 +134 + Misses 4116 3982 -134 ```

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

github-actions[bot] commented 5 months ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                    Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     4                 2    50.00%          25                14    44.00%           4                 3    25.00%
codec.h                             3                 0   100.00%          19                 2    89.47%           0                 0         -
connection.h                       34                 8    76.47%         344               123    64.24%          64                39    39.06%
io_service_pool.h                   5                 0   100.00%          32                 1    96.88%          12                 1    91.67%
md5.hpp                            19                 2    89.47%         127                 8    93.70%          24                 0   100.00%
nonstd_any.hpp                     13                10    23.08%          28                22    21.43%           0                 0         -
router.h                           15                 2    86.67%         119                36    69.75%          10                 6    40.00%
rpc_client.hpp                     67                23    65.67%         617               245    60.29%         114                71    37.72%
rpc_server.h                       21                 7    66.67%         159                51    67.92%          32                18    43.75%
string_view.hpp                    23                13    43.48%          72                51    29.17%          22                18    18.18%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             204                67    67.16%        1542               553    64.14%         282               156    44.68%