Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jul 2015 19:19:28 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] close syslog socket on error to recreate it later

On Mon, Jul 06, 2015 at 07:15:18PM -0400, Rich Felker wrote:
> >  In any case, I think it's a good idea to use MSG_NOSIGNAL in the
> > send().
> 
> That's done. While there are other more general ways to avoid SIGPIPE,
> MSG_NOSIGNAL is the easiest and least costly when it works. But I
> don't think datagram socket sends can result in EPIPE/SIGPIPE anyway.

Oh, sorry, it's not here. But that's the reason -- it's meaningless
for datagram sockets.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.