Fix for part 3 of https://issues.apache.org/bugzilla/show_bug.cgi?id=43683
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 27 Jun 2008 21:39:27 +0000 (21:39 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 27 Jun 2008 21:39:27 +0000 (21:39 +0000)
commitce403b69a4da7443462213008a9a02e968149c9a
tree087baaf6abc13a498ad535885bdc658428da6156
parentc77614faf0c911d642273b49693b4be3c9a8e99a
Fix for part 3 of https://issues.apache.org/bugzilla/show_bug.cgi?id=43683
This isn't perfect but it narrows the window for the race condition significantly. A perfect fix would require syncing most (all?) of allocate() which is on the critical path.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@672397 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/core/StandardWrapper.java