You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Paul Querna <ch...@force-elite.com> on 2004/11/02 00:45:01 UTC

[PATCH] POLLHUP w/ KQueue

Attached is a patch to make KQueue have the same behavior as the other 
pollset methods for a POLLHUP.

The current code will trigger a POLLERR when KQueue has an EOF.  This is 
an incorrect behavior.  It should trigger a POLLHUP like poll or epoll 
would.

Justin lead me to this bug several days ago on IRC.

My pollset patch for the Event MPM also has this change:
http://httpd.apache.org/~pquerna/event-mpm/event-apr_pollset-2004-11-01.patch

-Paul Querna