• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
BZ1433123: Avoid calling prepareRequest if an error occurred earlier.
    • -10
    • +13
    ./http11/Http11NioProcessor.java
BZ1426471: Remove possible deadlock situation. The non blocking code is only really used by websockets, which has write syncs already, so it is possible to remove it.
BZ1426264: Fix weird error handling in blockingWrite, also remove the immediate close for other errors, and always return a negative value.
    • -12
    • +1
    ./http11/InternalNioOutputBuffer.java
BZ1423453: Port code cleanup from Tomcat.
    • -11
    • +4
    ./http11/AbstractInternalInputBuffer.java
BZ1410869: Fix sync of AysncContext.complete, and change all syncs from the processor object to the request object (since it is available everywhere).
    • -18
    • +22
    ./http11/Http11NioProcessor.java
  1. … 2 more files in changeset.
BZ1399005: Add debug to max swallow input.
    • -1
    • +4
    ./http11/filters/IdentityInputFilter.java
    • -0
    • +4
    ./http11/filters/ChunkedInputFilter.java
  1. … 1 more file in changeset.
BZ1399014: Fix CVE-2016-6816 request smuggling
    • -0
    • +39
    ./http11/AbstractInternalInputBuffer.java
    • -0
    • +39
    ./http11/InternalAprInputBuffer.java
  1. … 4 more files in changeset.
BZ1370182: Add syncing for Servlet 3.0 async to allow non container threads interaction. The extra sync shouldn't be too expensive.
    • -19
    • +27
    ./http11/Http11AprProcessor.java
    • -120
    • +121
    ./http11/Http11NioProtocol.java
BZ1260566: Add utility class from Brian that allows formatting IPv6 addresses better. Patch submitted by Chao Wang.
  1. … 1 more file in changeset.
BZ1236910: Limit upload swallow size, patch ported by Lin Gao.
    • -1
    • +8
    ./http11/filters/ChunkedInputFilter.java
    • -2
    • +14
    ./http11/filters/IdentityInputFilter.java
  1. … 1 more file in changeset.
BZ1266247: fix buffer sizes when using SSL (SSL engine has a size limit with no workaround), recurse unwrap if no bytes are decoded, simplify handshake.
  1. … 1 more file in changeset.
BZ1190298: Allow setting content-type in a 204 response, submitted by Enrique Gonzalez Martinez.
BZ1167203: Add another missing infinite timeout for NIO2.
Revert r2538 except leave all the plumbing and the sync cleanup.
- Harmonize read with write, it's simpler and passes all the tests.
    • -19
    • +59
    ./http11/InternalNioInputBuffer.java
  1. … 1 more file in changeset.
Fix regression with timeout handling with java.io (change back the default too, since it got changed maybe due to some confusion).
Add a sync and use remaining() instead of something more convoluted which could fail.
    • -19
    • +19
    ./http11/InternalNioOutputBuffer.java
BZ1059511: Refix since the flag initial value should be on the protocol.
Follow up for BZ1059511: Add an extra for java.io. This functionality is almost useless, however.
BZ1075028: Limit size of chunk extensions per request [which have no use in Servlets].
    • -1
    • +12
    ./http11/filters/ChunkedInputFilter.java
  1. … 1 more file in changeset.
BZ1058424: Add support to check for connection: close as included by the web application. Submitted by Masafumi Miura (ported from Tomcat apparently).

Disabled by default so I am including it, the application should have no business trying to hack things in the protocol in the first place.

  1. … 1 more file in changeset.
BZ1059511: Add a DEFAULT_DISABLE_UPLOAD_TIMEOUT system property to go along with the others.
JBWEB-302: Make sure buffer state is right after sending an ack (and also add a loop to make sure everything is always written). Submitted by Aaron Ogburn.