rsyslog / librelp

OFFICIAL librelp repository on github
https://www.rsyslog.com/librelp/
GNU General Public License v3.0
30 stars 36 forks source link

report io errors for plain tcp connections #178

Closed rgerhards closed 4 years ago

rgerhards commented 4 years ago

this already happens with TLS, but not with plain tcp. Error messages are a useful troubleshooting tool.

codecov-io commented 4 years ago

Codecov Report

Merging #178 into master will increase coverage by 0.27%. The diff coverage is 72.72%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #178      +/-   ##
=========================================
+ Coverage   75.02%   75.3%   +0.27%     
=========================================
  Files          21      21              
  Lines        4064    4073       +9     
=========================================
+ Hits         3049    3067      +18     
+ Misses       1015    1006       -9
Impacted Files Coverage Δ
src/tcp.c 73.08% <100%> (+0.67%) :arrow_up:
tests/send.c 78.68% <62.5%> (-1.89%) :arrow_down:
tests/receive.c 79.91% <62.5%> (-0.25%) :arrow_down:
src/sendbuf.c 66.66% <0%> (-7.58%) :arrow_down:
src/relp.c 78.26% <0%> (+1.35%) :arrow_up:
src/cserverclose.c 100% <0%> (+100%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 93fb2fb...d06b477. Read the comment docs.