Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44646
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 23 Mar 2008 23:22:07 +0000 (23:22 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 23 Mar 2008 23:22:07 +0000 (23:22 +0000)
commit84694046d9eeeb43277deec2b4b398a71cea7890
tree090b44857880cd8e228578962a5754e5ab070a7d
parent43695c3f9730f4744e6a1dc6955a4c24d43f263c
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44646
The problem was wider than the issue described in the bug report. The session listener and the valve are different objects so the connection list wasn't visible to the session listener. I couldn't see an easy way to make them the same object so I used two lists - one for the valve (stored in the valve) and one for the session (stored in the session).
This valve now works for a simple comet app.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640273 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/valves/CometConnectionManagerValve.java
java/org/apache/catalina/valves/LocalStrings.properties