HomeClusterLabs Projects
Diffusion LibQB 22d0f94cd249

High: ipc_socket: Signalhandler must be resetted to Default, use only…

Description

High: ipc_socket: Signalhandler must be resetted to Default, use only cleanup_sigpipe to return from qb_ipc_dgram_sock_setup.

Some OS like Solaris/Illumos return with ECONNRESET or EPIPE in the case of a disconnecting peer.
Change the return code to ENOTCONN and continue.

Details

Provenance
Super-User <andreas.grueninger@lgl.bwl.de>Authored on Aug 11 2014, 1:03 PM
David Vossel <dvossel@redhat.com>Committed on Aug 14 2014, 2:53 PM
Parents
rQ1857c822296b: Merge pull request #128 from davidvossel/17.1.fixes
Branches
Unknown
Tags
Unknown

Event Timeline