Jetty9 - Returning 413 and not 414 when the request headers are too large.
This commit is contained in:
parent
5672a31432
commit
a3993f793d
|
@ -283,7 +283,7 @@ public class HttpParser
|
||||||
|
|
||||||
if (_maxHeaderBytes>0 && ++_headerBytes>_maxHeaderBytes)
|
if (_maxHeaderBytes>0 && ++_headerBytes>_maxHeaderBytes)
|
||||||
{
|
{
|
||||||
badMessage(buffer,HttpStatus.REQUEST_URI_TOO_LONG_414,null);
|
badMessage(buffer,HttpStatus.REQUEST_ENTITY_TOO_LARGE_413,null);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue