[
https://issues.apache.org/jira/browse/AMQ-8029?focusedWorklogId=514971&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-514971
]
ASF GitHub Bot logged work on AMQ-8029:
---------------------------------------
Author: ASF GitHub Bot
Created on: 21/Nov/20 05:49
Start Date: 21/Nov/20 05:49
Worklog Time Spent: 10m
Work Description: jbonofre merged pull request #558:
URL: https://github.com/apache/activemq/pull/558
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 514971)
Time Spent: 20m (was: 10m)
> Place a bound on the data read in MessageServletSupport
> -------------------------------------------------------
>
> Key: AMQ-8029
> URL: https://issues.apache.org/jira/browse/AMQ-8029
> Project: ActiveMQ
> Issue Type: Task
> Components: Transport
> Reporter: Colm O hEigeartaigh
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0, 5.16.1, 5.15.14
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)