Further work for
https://issues.apache.org/bugzilla/show_bug.cgi?id=56029
Review from kkolinko
- Fix bug in parsing functions and whitespace
- More efficient resetting of StringBuidler
- Use String.substring() for token and whitespace
- avoid unnecessary use of trim()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560017 13f79535-47bb-0310-9956-ffa450edef68
Fix line endings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560019 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56032
After an IO error sending a WebSocket message, close the connection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560158 13f79535-47bb-0310-9956-ffa450edef68
Simplify bind and unbind on stop

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560164 13f79535-47bb-0310-9956-ffa450edef68
Simplify bind and unbind on start

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560165 13f79535-47bb-0310-9956-ffa450edef68
Remove unnecessary code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560177 13f79535-47bb-0310-9956-ffa450edef68
Fix order of magnitude error in the wait time

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560212 13f79535-47bb-0310-9956-ffa450edef68
Writes don't timeout currently with BIO

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560213 13f79535-47bb-0310-9956-ffa450edef68
Initial enum for ContainerEventType. Lots more event types to add.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560290 13f79535-47bb-0310-9956-ffa450edef68
Drop this idea for now

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560303 13f79535-47bb-0310-9956-ffa450edef68
- Drop the code from SSO (I didn't know StandardSession.expire was already setting the context CL.
- Add bind/unbind to StandardSession.expire instead (and only do it if the classloader actually changes).
- See later if the bind/unbind code can be moved to StandardContext, but all uses seem slightly different.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1560363 13f79535-47bb-0310-9956-ffa450edef68