[Ecls-list] Streams over sockets and SIGPIPE
mm_lists at pulsar-zone.net
Tue Aug 18 01:29:16 UTC 2009
On Mon, 17 Aug 2009 21:21:52 -0400
Matthew Mondor <mm_lists at pulsar-zone.net> wrote:
> I wonder if it'd be best to install a SIGPIPE handler or to modify the
> code such that depending on configuration MSG_NOSIGNAL be used. The
> advantage of a handler would be the possibility to report a CL
> END-OF-FILE condition (which SBCL appears to be doing).
Oh, it's also possible that SBCL signals END-OF-FILE when errno is
EPIPE after sendto(2) returns -1, and that a handler causes SIGPIPE to
be ignored, or that it explicitely uses the MSG_NOSIGNAL flag.
I didn't check yet.
More information about the ecl-devel