https://bz.apache.org/bugzilla/show_bug.cgi?id=57653

--- Comment #6 from Rainer Jung <rainer.j...@kippdata.de> ---
I had a look at the origins of that APR comment:

http://svn.apache.org/viewvc?view=revision&revision=748951

It was especialy added to allow for an APR internal optimization when used in
combination with the kqueue pollset implementation. And kqueue is the default
pollset implof APR on OSX (and BSD).

Quoting:

"Allow the kqueue pollset implementation to support checking both APR_POLLIN
and
APR_POLLOUT for the same descriptor.  This requires separate kevent structures
for both conditions.

Importantly, if both conditions are present, they will be returned in separate
apr_pollfd_t structures with this implementation (to avoid the cycles to
coalesce 
into the minimal number of structures)."

So that fits nicely with your "The crash is occurring when the socket is
registered for read and write." OTOH that means it would not in an obvious way
provide a reason if this problem occured on other platforms than OSX or BSD.
Although the code comment doesn't limit itself to kqueue ...

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to