jetty 7.6 oejh.HttpParser:HttpParser 错误处理

现象:

2013-06-23 11:44:48.220:WARN:oejh.HttpParser:HttpParser Full for SCEP@245b315a{l(/172.28.12.32:63265)<->r(/172.28.10.129:80),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@16950f89,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-10,l=0,c=-3},r=1}


故障原因:

This is because jetty allows only 4ko for HTTP request and response headers. Using large cookies is enough to reach the limit.

To add more room for headers, simply add<headerBufferSize>16384</headerBufferSize> to your connector configuration (16k should be enough).

处理:

在jetty.xml 中增加


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

你可能感兴趣的:(jetty)