[
https://issues.apache.org/jira/browse/CAMEL-8222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8222.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.13.4
> Jetty component setting responseHeaderSize is impossible
> --------------------------------------------------------
>
> Key: CAMEL-8222
> URL: https://issues.apache.org/jira/browse/CAMEL-8222
> Project: Camel
> Issue Type: Bug
> Components: camel-jetty
> Affects Versions: 2.14.1
> Reporter: Zoltan Farkas
> Assignee: Claus Ibsen
> Fix For: 2.13.4, 2.14.2, 2.15.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> This is due to a "copy/paste" bug in:
> org.apache.camel.component.jetty.JettyHttpComponent at line: 691
> if (responseBufferSize != null) {
> answer.setResponseBufferSize(responseBufferSize);
> }
> if (responseHeaderSize != null) {
> answer.setResponseBufferSize(responseHeaderSize);
> }
> needs to be:
> if (responseBufferSize != null) {
> answer.setResponseBufferSize(responseBufferSize);
> }
> if (responseHeaderSize != null) {
> answer.setResponseHeaderSize(responseHeaderSize);
> }
> This issue seems to be also in the latest master and in other places where
> the header size is set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)