Tomcat报错:Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors

tomcat进行http request解析的时候报错,并将错误返回给客户端了,具体的错误如下:

 org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

报错的原因是URL链接头文件携带的数据量过大造成的,只需要修改Tomcat服务器conf配置文件夹下的server.xml中的配置参数,将maxHttpHeaderSize修改大一点即可。如下所示:
Tomcat报错:Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors_第1张图片
详细的原因请看此文:https://blog.csdn.net/codetomylaw/article/details/43407443

你可能感兴趣的:(技术博客)