[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: io_select EPIPE error case? [Was: [PATCH] Prepare pflocal/io.c for a
From: |
Samuel Thibault |
Subject: |
Re: io_select EPIPE error case? [Was: [PATCH] Prepare pflocal/io.c for a revised hurdselect.c: Pipe case (for review)] |
Date: |
Mon, 26 Nov 2012 14:38:44 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Richard Braun, le Mon 26 Nov 2012 14:37:23 +0100, a écrit :
> On Mon, Nov 26, 2012 at 02:34:04PM +0100, Samuel Thibault wrote:
> > In the read case, the end of file will be detected by a zero-read, not
> > an EPIPE.
>
> Right. What about the SELECT_URG/POLLPRI case ? This one looks quite
> obscur.
It is. IIRC for TCP/IP it's used for out-of-band data. I don't think we
have an equivalent in pflocal.
Samuel