DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42829>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42829





------- Additional Comments From [EMAIL PROTECTED]  2007-10-18 05:41 -------
The patch from the bug submitter does not close the listening sockets until the
current request has been finished, therefore breaking graceful-stop behaviour.

Depending on OS and used apr_pollset_poll variant, it seems that both
apr_pollset_poll() and lr->accept_func() can block if the sockets have been
closed in the meantime. This can be mitigated by checking for die_now before
calling these two functions (though a short race condition still remains).

Maybe it would also be possible to change apr to not block if all listening
sockets in the pollset are closed.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to