Zoltan Farkas created CAMEL-8222:
------------------------------------

             Summary: 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


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)

Reply via email to