camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Farkas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8222) Jetty component setting responseHeaderSize is impossible
Date Thu, 08 Jan 2015 20:55:34 GMT
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)

Mime
View raw message