当前位置 博文首页 > zx1323的博客:tomcat further occurrences of HTTP header par

    zx1323的博客:tomcat further occurrences of HTTP header par

    作者:[db:作者] 时间:2021-09-01 19:18

    启动tomcat时看到日志上有异常

    further occurrences of HTTP header parsing errors will be logged at DEBUG level.

    百度很多博文都指向了一篇解析的很详细的博文:http://blog.csdn.net/codetomylaw/article/details/43407443


    没啥耐心看了,等于说maxHttpHeaderSize默认配置上没有的,但默认值是8*1024 ,那我就调成了10*1024试试,然后就OK了,以后有时间再研究吧

    修改tomcat?? service.xml配置文件中的

        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   maxHttpHeaderSize ="10240"
                   redirectPort="8443" />



    cs