INFO:Error parsing HTTP request header Note:further occurrences of HTTP XXXX 错误
最近后台日志报错如下:
主要原因是server.xml文件里没有配置Tomcat的header缓冲区大小,默认缓存区无法满足时报错,只需要在server.xml中增加maxHttpHeaderSize字段即可:
<Connector port="7070" executor="tomcatThreadPool" protocol="HTTP/1.1"
connectionTimeout="20000"
maxHttpHeaderSize="8999"
URIEncoding="UTF-8"