Date: Fri, 14 Dec 2007 09:13:05 +1100 From: Mark Andrews <Mark_Andrews@isc.org> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/118626: Bad interaction between SIGPIPE and threads. Message-ID: <200712132213.lBDMD5r2073439@drugs.dv.isc.org> In-Reply-To: Your message of "Thu, 13 Dec 2007 12:06:26 CDT." <20071213170626.GA25873@VARK.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Dec 13, 2007, Mark Andrews wrote: > > The following reply was made to PR kern/118626; it has been noted by GNATS. > > > > From: Mark Andrews <Mark_Andrews@isc.org> > > To: bug-followup@FreeBSD.org, marka@isc.org > > Cc: sobomax@freebsd.org > > Subject: Re: kern/118626: Bad interaction between SIGPIPE and threads. > > Date: Thu, 13 Dec 2007 11:41:16 +1100 > > > > I'll definitely try it. > > > > The man page for socket(2) should be updated to reference SO_NOSIGPIPE > > where it talks about SIGPIPE being generated. > > The commit log says SO_NOSIGPIPE exists for compatibility, but it > looks fully implemented and supported. I've cc'd the original > author to find out if there's any good reason not to document it. It's documented in setsockopt(2). It just also needs to be documented in socket(2). I'm happy to close this ticket regardless of what is decided to do about the documentation. The socket option appears to work (got writev to return EPIPE), so thanks for the pointer. libbind will be updated to use it when available. Now to get other vendors to follow suite as it is something that has been needed for a long time and consistancy is good. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712132213.lBDMD5r2073439>