]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
REVERT msgr: force use of the SIGPIPE stopper for testing
authorGreg Farnum <gfarnum@redhat.com>
Tue, 3 Oct 2017 22:55:24 +0000 (15:55 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 4 Oct 2017 14:10:23 +0000 (07:10 -0700)
Note that since this sets MSG_NOSIGNAL to 0 it won't take effect
on the ::send[msg] invocations

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/include/sock_compat.h

index f9dc24b1ddc6bdba7210a23cb292b2422a7a9489..476b75caab5347468a5837cb6113b2194603c1ab 100644 (file)
@@ -14,6 +14,7 @@
 /*
  * On BSD SO_NOSIGPIPE can be set via setsockopt to block SIGPIPE.
  */
+#undef MSG_NOSIGNAL
 #ifndef MSG_NOSIGNAL
 # define MSG_NOSIGNAL 0
 # ifdef SO_NOSIGPIPE