Fix logic error. No functional impact but the code would have been a little slower.
Based on a patch by martinschaef.
This closes #13

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618565 13f79535-47bb-0310-9956-ffa450edef68
Allow to use MS Windows keystore.
submitted by ehsavoie (Emmanuel Hugonnet <ehugonne@redhat.com>).


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618650 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56323
Include the <code>*.bat</code> files when installing Tomcat via the Windows installer.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618678 13f79535-47bb-0310-9956-ffa450edef68
Followup to r1618650
Revert unintended change that limited the testsuite to a single test.

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618688 13f79535-47bb-0310-9956-ffa450edef68
Add a little plumbing for outgoing messages (no actual compression yet)
Make a couple of fields volatile that are accessed by multiple threads (in succession, not in parallel)

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

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618832 13f79535-47bb-0310-9956-ffa450edef68
Rename to align with RFC 6455 terms

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618833 13f79535-47bb-0310-9956-ffa450edef68
Add rsv to MessagePart and re-order constructor to match order elements
are used in RFC 6455

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618834 13f79535-47bb-0310-9956-ffa450edef68
Add plumbing to write reserved bits as set in the MessagePart rather
than hard-coding them to 0.
Re-order method parameters for writing header to align with RFC 6455.

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


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618872 13f79535-47bb-0310-9956-ffa450edef68
Make session id generation extensible.

See discussion "Special requirements on session id generator"
on dev list (http://marc.info/?t=139238389300003&r=1&w=2).

1) New interface org.apache.catalina.SessionIdGenerator
   - setter and getter for jvmRoute
   - setter and getter for session id length
   - generateSessionId() (use jvmRoute if set) and
     generateSessionId(String route).
2) Renamed org.apache.catalina.util.SessionIdGenerator to
   abstract org.apache.catalina.util.SessionIdGeneratorBase.
   For consistency with similar cases.
3) Adjust visibility of getRandomBytes(byte bytes[]) in SessionIdGeneratorBase
   from private to protected to allow extension.
4) Moved generateSessionId() from SessionIdGeneratorBase
   to new org.apache.catalina.util.StandardSessionIdGenerator
   extending SessionIdGeneratorBase and implementing SessionIdGenerator.
   Make SessionIdGeneratorBase abstract.
5) Changed message keys in org.apache.catalina.util.LocalStrings.properties
   etc. from sessionIdGenerator.* to sessionIdGeneratorBase.*.
6) Add getter and setter for SessionIdGenerator to Manager interface
   and to ManagerBase. Deprecated setSessionIdLength(int) and
   getSessionIdLength() there. Use value only if explicitly set
   otherwise use value from SessionIdGenerator impl.
7) Adjust SessionIdGenerator initialization in ManagerBase:
   uses generator set in context config if present, otherwise
   uses StandardSessionIdGenerator as default.
9) Add Context/Manager/SessionIdGenerator to digester ContextRuleSet.

Method getSessionIdLength() and setSessionIdlength(int) in Manager
interface only kept for API stability (too late for removing in TC 8).


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1619056 13f79535-47bb-0310-9956-ffa450edef68
Add docs for SessionIdGenerator.
Followup to r1619061.


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


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


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1619361 13f79535-47bb-0310-9956-ffa450edef68
Link to new docs page.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1619362 13f79535-47bb-0310-9956-ffa450edef68
Fix the generics warnings.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1619583 13f79535-47bb-0310-9956-ffa450edef68
Clear buffers as well as handler once they are no longer needed.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1619585 13f79535-47bb-0310-9956-ffa450edef68
Extend support for the WebSocket permessage-deflate extension to compression of outgoing messages on the server side.

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