-
Bug
-
Resolution: Done
-
Minor
-
None
http listener output the following DEBUG log message when exceeding max-parameters/max-headers. However, ajp listener does not output any log mssage. ajp listener should output DEBUG log like http listener.
DEBUG [io.undertow.request.io] (default I/O-31) UT005014: Failed to parse HTTP request: io.undertow.server.protocol.http.HttpRequestParser$BadRequestException: UT000039: To many query parameters, cannot have more than 5 query parameters
at io.undertow.server.protocol.http.HttpRequestParser.handleQueryParameters(HttpRequestParser.java:523)
at io.undertow.server.protocol.http.HttpRequestParser.beginQueryParameters(HttpRequestParser.java:450)
at io.undertow.server.protocol.http.HttpRequestParser.handlePath(HttpRequestParser.java:374)
at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:215)
at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:185)
at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:134)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:130)
at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:588)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:468)
DEBUG [io.undertow.request.io] (default I/O-41) UT005014: Failed to parse HTTP request: io.undertow.server.protocol.http.HttpRequestParser$BadRequestException: UT000040: To many headers, cannot have more than 5 header
at io.undertow.server.protocol.http.HttpRequestParser.handleHeaderValueCacheMiss(HttpRequestParser.java:720)
at io.undertow.server.protocol.http.HttpRequestParser.handleHeaderValue(HttpRequestParser.java:657)
at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:256)
at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:185)
at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:134)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:130)
at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:588)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:468)
- clones
-
JBEAP-11829 (7.1.0) AjpRequestParser does not output any log message when exceeding max-parameters/max-headers
- Closed
- is incorporated by
-
JBEAP-10026 (7.0.z) Upgrade undertow from 1.3.28.Final to 1.3.29.Final
- Closed