Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51905
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 28 Sep 2011 09:35:59 +0000 (09:35 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 28 Sep 2011 09:35:59 +0000 (09:35 +0000)
commit8209100d485b3bd70cc5098bf3474f551c1ce893
tree57104acfd5e752fc6ce4d2538cee6d52dd95d791
parentca78919b42354bbdd553360c4485bcae8600f3f4
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51905
Skip attempt to shutdown AprEndpoint acceptor threads if the server socket has been already forcefully closed.
Reduce waiting timeout from 30s to 10s. I think if things go wrong 10s is enough to wait.

If it were waiting 30s
- the JVM itself might be forcefully closed by service wrapper as unresponsive.
- it must print something to the logs, otherwise it looks odd.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1176799 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/tomcat/util/net/AprEndpoint.java