apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject [PATCH] WIN32 add support for APR_POOLHUP for apr_pollset
Date Thu, 25 May 2006 14:49:36 GMT

Here is the proposed patch for WIN32 that will like
epoll favor the APR_POLLHUP pollset_poll events when the
socket has been closed.
It uses additional WSAEVENT event record that is
created if APR_POOLHUP or APR_POOLPRI is specified
as reqevent.

Application that polls the accepted socket will
not need to read the data from the socket in case
it has been half-closed (like with epoll) to determine
if the APR_POLLIN is a real POLLIN or socket closed.

Any comments?


View raw message