[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: |
Richard Braun |
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:30:40 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Nov 23, 2012 at 01:55:19AM +0100, Samuel Thibault wrote:
> About the behavior change, I'd tend to agree, but I'd rather get others'
> opinion too.
>
> I guess what you actually want to fix is the error case on poll()?
> (actually here the only error that can happen is EPIPE)
> (that would have saved a mail roundtrip if you had simply said so in
> your mail)
I only see EPIPE in pipe_wait_writable, which is only used in case
SELECT_WRITE is set. I'm not sure how this will fix the behaviour for
the POLLIN case.
--
Richard Braun