• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Drop java.io connectors (AJP and HTTP). AJP now requires native.
    • -70
    • +0
    ./net/DefaultServerSocketFactory.java
    • -126
    • +0
    ./net/jsse/JSSEImplementation.java
    • -812
    • +0
    ./net/jsse/JSSESocketFactory.java
    • -24
    • +0
    ./net/jsse/NioJSSEImplementation.java
  1. … 10 more files in changeset.
- Merge the NIO 2 HTTP connector.

- Now requires Java 7 to build.

- It builds, but not tested yet.

    • -0
    • +1087
    ./net/AbstractEndpoint.java
    • -0
    • +112
    ./net/CompletionHandlerAdapter.java
    • -0
    • +129
    ./net/DefaultNioServerSocketChannelFactory.java
    • -0
    • +260
    ./net/NioServerSocketChannelFactory.java
    • -32
    • +89
    ./net/jsse/JSSEImplementation.java
    • -0
    • +65
    ./net/jsse/NioJSSEFactory.java
    • -0
    • +126
    ./net/jsse/NioJSSEImplementation.java
    • -0
    • +831
    ./net/jsse/NioJSSESocketChannelFactory.java
    • -0
    • +233
    ./net/jsse/NioJSSESupport.java
    • -0
    • +835
    ./net/jsse/SecureNioChannel.java
  1. … 12 more files in changeset.
AS7-4151: Add system property to configure AJP packet size, and another for endpoint max threads.
  1. … 9 more files in changeset.
AS7-4469: Also fix session id attribute that got standardized in Servlet 3.
  1. … 3 more files in changeset.
JBWEB-234: Fix passing encoding parameter, missed during rebase. Submitted by Philippe Guinot.
  1. … 1 more file in changeset.
AS7-3898: Move back to Tomcat code because the new code GC friendly characteristics were not useful in practice, and

it remains worse in profiling.

    • -0
    • +31
    ./http/LocalStrings.properties
  1. … 2 more files in changeset.
Add some optimizations to parameters handling (just to keep them somewhere).
AS7-3607: Fix bogus issue with lame hack.
  1. … 1 more file in changeset.
JBWEB-221: Add leftovers to the char encoder.
  1. … 1 more file in changeset.
- Add utility method.
Add system properties which restrict parameter count (org.apache.tomcat.util.http.Parameters.MAX_COUNT default to 512) and header count (org.apache.tomcat.util.http.MimeHeaders.MAX_COUNT to 128).
  1. … 1 more file in changeset.
- Add a flag for optional blocking in the thread pool, which can help testing.

- Move some constants.

    • -0
    • +53
    ./net/Constants.java
  1. … 4 more files in changeset.
Fix some SSL functionality when a keyAlias is used.
  1. … 1 more file in changeset.
- Fix double close when a sendfile error occurs.
  1. … 2 more files in changeset.
Some cleanups related to JBWEB-205.
  1. … 2 more files in changeset.
- Change the default value of '/' as a separator, which is no longer going to be based on

the strict compliance flag.

  1. … 1 more file in changeset.
- Adapt the String to charset optimizations.
    • -0
    • +62
    ./buf/EncodingToCharset.java
  1. … 4 more files in changeset.
- Add the capability to set the SSLContext, fully configured elsewhere. I like delegating the hard stuff.
  1. … 1 more file in changeset.
- Update default value.
- Fix init() logic with bad pollerSize if it is left to the default value.
Reduce the poller size counts, as the Servlet 3 and event functionality is tied to a matching processor,

making the functionality memory intensive.

- Lower the static file cache for the low mem scenario (I'll keep it for now).

- Add back the "wait for an available processor" code, which fits the "toy server" use quite well.

  1. … 2 more files in changeset.
- Since keepalive is disabled, maxThreads means the same as for the APR connector, except it includes

all static files, so it needs to be a bit higher.

- Add various low memory defaults.

- Recycle facades.

- Discard processors and disable keepalive for HTTP java.io.

- Disable string cache.

- Lower polleSize for APR and java.io.

- Lower sendfileSize for APR.

- AJP will still use more memory (it requires lots of active processors), and native HTTP should retain

decent performance (java.io HTTP will drop however).

  1. … 2 more files in changeset.
- Add a system property to disable the legacy model MBeans. Removing this completely is probably not an option.
  1. … 17 more files in changeset.
Use the desired AS defaults in the code (there's no catalina.properties in AS 7).
  1. … 3 more files in changeset.
- Support new TLS renegotiation.
  1. … 1 more file in changeset.
- Improve name only cookies.

- Fix APR getRemoteHost.

  1. … 2 more files in changeset.
- Port improvement where a listener is not used. Using a listener actually causes problems.
- Improve session id creation.

- Add a master SecureRandom in Service.

- Add local SecureRandom providers seeded with the master SecureRandom in the Request.

- Port session id hashing and alphabet from AS 6 (which will need a little refactoring).

  1. … 10 more files in changeset.