• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Port BZ1167203: Add another missing infinite timeout for NIO2.
Port code cleanup from Tomcat for exception handling.
    • -4
    • +32
    ./http11/filters/ChunkedInputFilter.java
  1. … 1 more file in changeset.
BZ1106492: -1 is set for timeout, but the endpoint then uses the main connection timeout. Use instead max int like for NIO2 after an upgrade.
Related to BZ1100491: Switch to the Tomcat style for IO writes with the NIO2 connector for better reliability and results. Avoid some deadlocks caused by excessive locking.
    • -35
    • +81
    ./http11/InternalNioOutputBuffer.java
  1. … 3 more files in changeset.
BZ1104139: Tomcat sets an infinite timeout for IO on upgraded connections, so do the same.
    • -0
    • +1
    ./http11/AbstractInternalInputBuffer.java
Follow up on r2435: should do an initial notification when data is available.
- BZ1103596: Does not fix the real cause, but avoid loop.

- Improve on notifications and input.

    • -1
    • +1
    ./http11/AbstractInternalInputBuffer.java
    • -18
    • +33
    ./http11/InternalNioInputBuffer.java
Port CVE-2014-0075: Avoid overflow and use bit shift instead.
    • -6
    • +6
    ./http11/filters/ChunkedInputFilter.java
BZ1097763: Identify apparently missing code in non blocking mode to make sure the data can fit in the buffer, so possible fix.
    • -1
    • +11
    ./http11/InternalNioInputBuffer.java
GTNPORTAL-3435: Clear the buffer since its state should be the same as the other buffer, but no need to clear it on recycle.
Port patch to the other connectors.
BZ1073159: Preload constant.
Remove bad code to handle exception thrown during blocking read.
    • -31
    • +9
    ./http11/InternalNioInputBuffer.java
BZ 1010497: Logger at the classname.

  1. … 1 more file in changeset.
Add some sync to avoid missing some event processing (hopefully).
Some (basic) constant cleanups and removal of old unused code.
    • -9
    • +0
    ./http11/AbstractInternalInputBuffer.java
Add the configuration system properties used in the other HTTP connectors.
Port improvements to content-length handling.
Fix apparently badly ported JMX code (java.io is correct, but not NIO 2 or native). Missed AJP.
  1. … 1 more file in changeset.
Fix apparently badly ported JMX code (java.io is correct, but not NIO 2 or native).
  1. … 2 more files in changeset.
- Some more cleanups.

- Refactor again using a reusable semaphore.

    • -37
    • +25
    ./http11/InternalNioInputBuffer.java
    • -38
    • +25
    ./http11/InternalNioOutputBuffer.java
Some cleanups.
    • -12
    • +14
    ./http11/InternalNioInputBuffer.java
- Some exception reporting.

- Be careful about using processChannel.

    • -7
    • +14
    ./http11/InternalNioOutputBuffer.java
  1. … 2 more files in changeset.
- Refactor the non blocking mode of the NIO2 connector.

- Some debug code remains.

    • -617
    • +0
    ./http11/AbstractInternalOutputBuffer.java
    • -42
    • +54
    ./http11/InternalNioInputBuffer.java
    • -176
    • +642
    ./http11/InternalNioOutputBuffer.java
  1. … 1 more file in changeset.
Fix some input and output corruption when using non blocking, hopefully without causing regressions.
    • -51
    • +77
    ./http11/InternalNioInputBuffer.java
    • -18
    • +44
    ./http11/InternalNioOutputBuffer.java
- Add flushing at the end of a message write (Tomcat uses unbuffered stream and direct socket writes)

- Try using autoblocking for the blocking get() on the future

  1. … 3 more files in changeset.
- Add Servlet 3.1 IO API from Tomcat 7.

- Port Websockets 1.0 from Tomcat 7.

- No Websockets 1.0 testing yet (but no apparent regression for the usual Servlet functionality).

    • -0
    • +43
    ./http11/upgrade/AbstractServletInputStream.java
    • -0
    • +38
    ./http11/upgrade/AbstractServletOutputStream.java
    • -0
    • +38
    ./http11/upgrade/servlet31/HttpUpgradeHandler.java
    • -0
    • +50
    ./http11/upgrade/servlet31/ReadListener.java
    • -0
    • +47
    ./http11/upgrade/servlet31/WebConnection.java
    • -0
    • +43
    ./http11/upgrade/servlet31/WriteListener.java
  1. … 96 more files in changeset.
For EAP 6.3.
    • -0
    • +749
    ./http11/InternalOutputBuffer.java
    • -0
    • +1234
    ./http11/Http11AbstractProcessor.java
    • -0
    • +783
    ./http11/InternalInputBuffer.java
    • -0
    • +187
    ./http11/filters/ChunkedOutputFilter.java
  1. … 1011 more files in changeset.