apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject Re: [PATCH] testpoll fix
Date Tue, 31 Jan 2006 05:02:01 GMT
On 1/30/06, Brian Pane <brianp@apache.org> wrote:
> This patch should allow the APR testpoll test to work with pollset
> implementations
> where readability and writability events on the same descriptor can
> end up in two
> separate pollfd_t objects, such as kqueue.
> The only pollset implementations for which I have test environments,
> though, are
> select and epoll.  Can someone with *BSD please try this patch and
> let me know if
> testpoll passes with the kqueue impl?

This passes the part that you modified, but it still fails further
on...  The apr_pollset_poll after the recv_msg results in a return
value of 1, with rtnevents = APR_POLLIN | APR_POLLOUT.  I guess kqueue
is just more unpredictable in how it's going to return the data to
you, which does seem to make things harder to test...


View raw message