【发布时间】:2017-02-04 20:02:40
【问题描述】:
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Request header is too large
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:512)
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:501)
at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:171)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:996)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:722
如何在我的 Spring Web 应用程序中解决这个问题?
我已经浏览过这个帖子Request header is too large
【问题讨论】:
-
提示:我猜这与 eclipse 无关。
-
您是否捕获了此请求的 http 数据包并尝试查看标头?
-
我认为无论eclipse @GhostCat如何,都应该在tomcat中进行一些配置更改
-
我需要知道哪些配置更改以及我需要在我的 spring 应用程序或 tomcat 中进行哪些更改? @Himanshu