-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed as not planned
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
After upgrading to Spring Boot 3.2.2 we started getting the following exception:
java.lang.IllegalArgumentException: Request header is too large
at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:770)
at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:964)
at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:591)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:287)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
I saw in the migration docs from 2.7 to 3.0 that the server.max-http-header-size is deprecated in favour of server.max-http-request-header-size, but both continue to work. Apparently, with Spring Boot 3.2.2, support for the former was ended. But it isn't mentioned in the docs as far as I'm aware.
Note that there's also an inconsistency in the docs of 3.1 that mentions a non-existent config server.tomcat.max-http-response-header-size instead of server.max-http-response-header-size.
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid