On Sat, Oct 23, 2010 at 00:01, Mike Meyer <mwm-keyword-apache.b9a...@mired.org> wrote: > I use that to get the socket so I can poll for it to have data in it, > and do other things while I'm waiting. Is there a better alternative > for that, or is this an exception?
You could do it through apr_bucket_read(APR_NONBLOCK_READ) but polling on the socket is probably simpler, especially if you are polling on more than one fd. Just don't read or write data directly, that would bypass the filter chain (and break logging, for starters).