On 1/30/06, Brian Pane <[EMAIL PROTECTED]> 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... -garrett
