在tomcat里进行配置

原因是Tomcat的header缓冲区大小不够,只需要在server.xml中增加maxHttpHeaderSize字段即可:

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

在SpringBoot里application.properties配置

Error parsing HTTP request header Larger错误解决方法

 

相关文章:

  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2021-08-01
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-12-10
  • 2021-08-10
  • 2021-06-29
相关资源
相似解决方案