Get to submit data is too large, tomcat error information: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level

the reason

Get the data submitted is too large, more than the default value.

Solution

get submitted Configuration

Setting server.xml tomcat's. We start to find the port, generally 8080, an increase maxHttpHeaderSize = "102400", the value can be configured according to their own circumstances.

post submitted Configuration

And get, like, find port, configure maxPostSize = -1 to lift restrictions on post, and before tomcat7.0.63, setting of 0 or -1, set up after version 7.0.63 is negative it means no limit.

Guess you like

Origin www.cnblogs.com/jichi/p/11921392.html