Description
This task is to place a bound on the amount of data read in MessageServletSupport, as otherwise BufferedReader.readLine() will block until all data is read, potentially leading to a java.lang.OutOfMemoryError: Java heap space error.
I introduced a dependency on commons-io's BoundedInputStream for this, with a default (configurable) bound of 100000 bytes.
Attachments
Issue Links
- duplicates
-
AMQ-8611 Long messages over REST API HTTP Post are truncated
- Resolved