Index: base/posix/unix_domain_socket.cc |
diff --git a/base/posix/unix_domain_socket.cc b/base/posix/unix_domain_socket.cc |
index 730657dfcdbc4c5f6c87b31f5a659a2ce32abd5a..17aa6e51e3fa4d5208dfa64227fbc6bc52d0bdce 100644 |
--- a/base/posix/unix_domain_socket.cc |
+++ b/base/posix/unix_domain_socket.cc |
@@ -43,7 +43,7 @@ bool UnixDomainSocket::SendMsg(int fd, |
msg.msg_controllen = cmsg->cmsg_len; |
} |
- const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, 0)); |
+ const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, MSG_NOSIGNAL)); |
const bool ret = static_cast<ssize_t>(length) == r; |
delete[] control_buffer; |
return ret; |