rsyslog/librelp

About error handling when using gnutls

gleentea opened this issue · 1 comments

When using gnutls, there is a case that the program exits with gnutls error code -54.
I checked and it seems to be exited in relpTcpRcv_gtls.
Is this error unrecoverable and do I need to restart the program?

librelp/src/tcp.c

Line 3054 in b5d9555

exit(1);

Thx for the report. This looks very suspicious. In the current state, you actually need to restart. I don't think this was intended.