rsyslog / librelp

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

About error handling when using gnutls #231

Closed gleentea closed 3 years ago

gleentea commented 3 years ago

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? https://github.com/rsyslog/librelp/blob/b5d955562b127f3929828b932470a83dc7ce268e/src/tcp.c#L3054

gleentea commented 3 years ago

I'm sorry for the double post. :-(