apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject [PATCH] POLLHUP w/ KQueue
Date Mon, 01 Nov 2004 23:45:01 GMT
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

Mime
View raw message