HomeClusterLabs Projects

Log: liblrmd: use sensible return code for disconnection in remote send/reply

Description

Log: liblrmd: use sensible return code for disconnection in remote send/reply

Previously, lrmd_tls_send_recv() would return -1 if the connection was
disconnected, even though it returned legacy return codes for all other
conditions. This could result in nonsensical error messages. Use -ENOTCONN
instead.

Details

Provenance
kgaillotAuthored on May 4 2021, 6:18 PM
Parents
rPd5344649d8c0: Log: liblrmd: richer return code when sending remote message
Branches
Unknown
Tags
Unknown

Event Timeline