Hi,
On Sun, Jan 2, 2011 at 10:15 AM, Nick Mathewson wrote:
> On Wed, Dec 29, 2010 at 6:07 AM, Yee Keat Phuah wrote:
> I _think_ what you're suggesting is something like adding
>
> if (pevt->portev_events & (POLLERR|POLLHUP))
> res |= EV_READ|EV_WRITE;
>
> to
On Wed, Dec 29, 2010 at 6:07 AM, Yee Keat Phuah wrote:
> Hi,
>
> Recently I came across a scenario where I added a unix pipe in
> bufferevent, but then when the pipe is closed, I experience an
> infinite loop.
>
> This happens in Solaris 10 using evport by default.
>
> Its traced down to evport.c:
Hi,
Recently I came across a scenario where I added a unix pipe in
bufferevent, but then when the pipe is closed, I experience an
infinite loop.
This happens in Solaris 10 using evport by default.
Its traced down to evport.c:460.
Contrary to devpoll.c, epoll.c and poll.c, there's no handling of