How to set max-http-header-size in spring boot 2.x application

后端 未结 4 1849
一整个雨季
一整个雨季 2021-01-11 14:54

I have Spring boot app running Java 11:


    org.springframework.boot
    spring-boot-star         


        
4条回答
  •  独厮守ぢ
    2021-01-11 15:31

    In spring boot 1.3.5.RELEASE what worked for me is setting the following entry in application.properties:

    server.tomcat.max-http-header-size=100000
    

提交回复
热议问题