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

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

I have Spring boot app running Java 11:


    org.springframework.boot
    spring-boot-star         


        
4条回答
  •  一整个雨季
    2021-01-11 15:33

    From Spring boot 2.1, you will now need to use a DataSize parsable value. e.g.

    server.max-http-header-size=40KB
    

提交回复
热议问题