Details
Description
If a request contains headers that exceed the buffer size (4096), the request fails with the following exception:
WARN log handle failed
java.io.IOException: FULL
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:274)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:202)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
In this case, the request had a very large cookie (3740 bytes). The entire header was 4296 bytes.
If you think you are regularly going to receive quite large headers, you can always increase the size of the header buffer (which is 4k by default).
Call connector.setHeaderBufferSize(int bytes)