• 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.
  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.
  1. … 3 more files in changeset.
BZ1104139: Tomcat sets an infinite timeout for IO on upgraded connections, so do the same.
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.

Port CVE-2014-0075: Avoid overflow and use bit shift instead.
BZ1097763: Identify apparently missing code in non blocking mode to make sure the data can fit in the buffer, so possible fix.
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.
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.
Add the configuration system properties used in the other HTTP connectors.
Port improvements to content-length handling.
  1. … 3 more files 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.

Some cleanups.
- Some exception reporting.

- Be careful about using processChannel.

  1. … 3 more files in changeset.
- Refactor the non blocking mode of the NIO2 connector.

- Some debug code remains.

    • -617
    • +0
    ./AbstractInternalOutputBuffer.java
    • -176
    • +642
    ./InternalNioOutputBuffer.java
  1. … 1 more file in changeset.
Fix some input and output corruption when using non blocking, hopefully without causing regressions.
- 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
    ./upgrade/AbstractServletInputStream.java
    • -0
    • +38
    ./upgrade/AbstractServletOutputStream.java
    • -0
    • +38
    ./upgrade/servlet31/HttpUpgradeHandler.java
    • -0
    • +50
    ./upgrade/servlet31/ReadListener.java
    • -0
    • +47
    ./upgrade/servlet31/WebConnection.java
    • -0
    • +43
    ./upgrade/servlet31/WriteListener.java
  1. … 97 more files in changeset.
For EAP 6.3.
    • -0
    • +1234
    ./Http11AbstractProcessor.java
    • -0
    • +187
    ./filters/ChunkedOutputFilter.java
    • -0
    • +614
    ./AbstractInternalInputBuffer.java
    • -0
    • +374
    ./filters/ChunkedInputFilter.java
    • -0
    • +110
    ./filters/SavedRequestInputFilter.java
  1. … 1011 more files in changeset.