Hi,

On Sun, Jan 2, 2011 at 10:15 AM, Nick Mathewson <ni...@freehaven.net> wrote:
> On Wed, Dec 29, 2010 at 6:07 AM, Yee Keat Phuah <ykph...@gmail.com> wrote:
> I _think_ what you're suggesting is something like adding
>
>                if (pevt->portev_events & (POLLERR|POLLHUP))
>                        res |= EV_READ|EV_WRITE;
>
> to the final loop of evport_dispatch?  Does that solve the problem for you?

Yes, that's correct! That certainly fixed the issue for my problem.

I have also found a way to "solve" this issue without code changes, I
just request for EV_FEATURE_FDS, which is not supported by the evport
backend.

Cheers,
Phuah Yee Keat
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to