Hi, On Sun, Jan 2, 2011 at 10:15 AM, Nick Mathewson <[email protected]> wrote: > On Wed, Dec 29, 2010 at 6:07 AM, Yee Keat Phuah <[email protected]> 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 [email protected] with unsubscribe libevent-users in the body.
