-
Bug
-
Resolution: Done
-
Major
-
2.3.6.Final
-
None
Undertow read-timeout can close a connection unexpectedly before an application returns a response.
This can happen with the following conditions:
- Client sends larger POST request data than the buffer size (16KB for HTTP and 8KB for AJP by default). So, POST request is not fully read by HttpReadListner or AjpReadListener on the I/O thread.
and
- The application's processing takes longer than read-timeout after consuming POST request data.
Note that this issue happens even if all POST request data can be read and consumed completely within the read-timeout. So, this unexpected connection closure is not caused by unreceived request data due to slow client or slow network.
—
This is similar to the past issue JBEAP-20814/UNDERTOW-1856, but the reproduction conditions are different.
- clones
-
JBEAP-24861 [GSS](7.4.z) UNDERTOW-2275 Undertow read-timeout can close connection unexpectedly before returning response for POST request larger than the default buffer size
- Closed
- is cloned by
-
JBEAP-25262 [GSS](8.0.z) UNDERTOW-2275 Undertow read-timeout can close connection unexpectedly before returning response for POST request larger than the default buffer size
- Closed
- is incorporated by
-
WFCORE-6468 Upgrade Undertow to 2.3.8.Final
- Resolved