[ 
https://issues.apache.org/jira/browse/KNOX-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003193#comment-15003193
 ] 

Kevin Minder commented on KNOX-624:
-----------------------------------

Added the following config options for gateway-site.xml
{code}
    <property>
        <name>gateway.httpserver.requestBuffer</name>
        <value>16384</value>
        <description>The size of the HTTP server request buffer.  The default 
is 16K.</description>
    </property>
    <property>
        <name>gateway.httpserver.requestHeaderBuffer</name>
        <value>8192</value>
        <description>The size of the HTTP server request header buffer.  The 
default is 8K.</description>
    </property>
    <property>
        <name>gateway.httpserver.responseBuffer</name>
        <value>32768</value>
        <description>The size of the HTTP server response buffer.  The default 
is 32K.</description>
    </property>
    <property>
        <name>gateway.httpserver.reponseHeaderBuffer</name>
        <value>8192</value>
        <description>The size of the HTTP server response header buffer.  The 
default is 8K.</description>
    </property>
{code}

> Expose configuration for Jetty's request and response buffer sizes
> ------------------------------------------------------------------
>
>                 Key: KNOX-624
>                 URL: https://issues.apache.org/jira/browse/KNOX-624
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.6.0
>            Reporter: Kevin Minder
>             Fix For: 0.7.0
>
>
> A number of users have experienced issues with large headers causing issues.  
> There needs to be a way to increase the Jetty request and response header 
> buffer size.  See this stackoverflow link for information about how that is 
> done in Jetty.
> http://stackoverflow.com/questions/11914555/jetty-http-413-header-full-error-java-scala
> From looking at the code this would need to be done in the start() method of 
> GatewayServer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to