Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] HttpParser Full for SCEP proxy servlet


I am using jetty proxy servlet to proxy some requests to another server, I have one request with a big header and every time I try to send it  I receive

HttpException(413,FULL head,null)

        at org.eclipse.jetty.http.HttpParser.fill(

        at org.eclipse.jetty.http.HttpParser.parseNext(

        at org.eclipse.jetty.http.HttpParser.parseAvailable(

        at org.eclipse.jetty.client.AsyncHttpConnection.handle(



        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(

        at org.eclipse.jetty.util.thread.QueuedThreadPool$


I try to configure the connector with the following parameters, but requestHeaderSize seems to have no effect.

<Call name="addConnector">


          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">

            <Set name="host"><Property name="" /></Set>

            <Set name="port"><Property name="jetty.port" default="8080"/></Set>

            <Set name="maxIdleTime">300000</Set>

            <Set name="Acceptors">2</Set>

            <Set name="statsOn">false</Set>

            <Set name="confidentialPort">8443</Set>

            <Set name="lowResourcesConnections">20000</Set>

            <Set name="lowResourcesMaxIdleTime">5000</Set>

        <Set name="requestBufferSize">10240000</Set>

        <Set name="requestHeaderSize">32768</Set>




I suspect that I need to configure requestHeaderSize for the proxy connection that is going out  and not to the connector that is receiving my request.

Any ideas?

Thanks for any help

Back to the top