Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UNDERTOW-852] Web server should return 501 for unknown METHOD requests #432

Merged
merged 1 commit into from
Oct 18, 2016

Conversation

@undertow-pull-request
Copy link

Windows Build 1802 outcome was FAILURE using a merge of 3b9d00f
Summary: Execution timeout; tests failed: 7 (1 new), passed: 2494, ignored: 543 Build time: 00:30:05

Failed tests

io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{http2}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
14:34:51,529 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:34:51,533 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:34:51,540 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,546 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,554 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@1af7e93 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,561 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@6ee2ea for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:34:51,569 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:34:51,575 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:34:51,582 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,588 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,595 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@10f16d5 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,604 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@1dbb200 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:34:51,613 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:34:51,617 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:34:51,624 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,631 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,639 DEBUG (XNIO-1 I/O-1) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:34:51,647 ERROR (XNIO-1 I/O-1) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:34:51,651 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,654 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=5SJevOdQ0hZpcAVkmaq9dj_bgtTVPYgabamVAm3v.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:34:51,657 DEBUG (XNIO-1 I/O-1) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)


io.undertow.server.handlers.proxy.LoadBalancingProxyHttpsTestCase.testDuplicateHeaders: java.lang.AssertionError: Test failed with i=1 expected:<200> but was:<503>
------- Stderr: -------
14:25:08,157 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:25:08,162 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:25:08,304 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@3a892b for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:25:08,313 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=NVFBIXQ8DsnUY09zL1xJgvyqH6bK9JjGVgMtyPQ7.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:25:08,318 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=NVFBIXQ8DsnUY09zL1xJgvyqH6bK9JjGVgMtyPQ7.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:25:08,325 DEBUG (XNIO-1 I/O-8) [io.undertow.request.io] <SslConduit.java:614> UT005013: An IOException occurred: java.io.IOException: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:614)
    at io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:983)
    at io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1078)
    at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:799)
    at io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:849)
    at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:371)
    at io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:114)
    at io.undertow.client.http.HttpRequestConduit.flush(HttpRequestConduit.java:632)
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.flush(AbstractFixedLengthStreamSinkConduit.java:229)
    at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:403)
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:331)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:515)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:795)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:293)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:267)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:330)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:517)
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:301)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:287)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:223)
    at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:243)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:134)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:58)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
Caused by: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
    at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:612)
    ... 29 more

14:25:08,364 ERROR (XNIO-1 I/O-8) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
14:27:23,755 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:27:23,758 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:27:23,764 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:27:23,770 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:27:23,776 DEBUG (XNIO-1 I/O-8) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:27:23,790 ERROR (XNIO-1 I/O-8) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:27:23,799 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:27:23,804 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:27:23,811 DEBUG (XNIO-1 I/O-8) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:27:23,824 ERROR (XNIO-1 I/O-8) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{ajp}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
14:29:55,875 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:29:55,880 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:29:55,887 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:29:55,893 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:29:55,901 DEBUG (XNIO-1 I/O-7) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:29:55,923 ERROR (XNIO-1 I/O-7) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:29:55,932 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:29:55,940 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:29:55,946 DEBUG (XNIO-1 I/O-7) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:29:55,962 ERROR (XNIO-1 I/O-7) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{https}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
14:32:20,618 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:32:20,624 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:32:20,628 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:32:20,635 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:32:20,641 DEBUG (XNIO-1 I/O-7) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:32:20,656 ERROR (XNIO-1 I/O-7) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:32:20,665 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:32:20,672 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
14:32:20,678 DEBUG (XNIO-1 I/O-7) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:32:20,692 ERROR (XNIO-1 I/O-7) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{http2-clear}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
14:37:30,233 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:37:30,237 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:37:30,243 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,249 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,256 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@b8d212 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,264 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@c9ea26 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:37:30,270 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:37:30,275 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:37:30,277 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,280 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,285 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@b13d31 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,289 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@48fb81 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:37:30,292 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:37:30,297 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:37:30,300 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,303 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,307 DEBUG (XNIO-1 I/O-6) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:37:30,315 ERROR (XNIO-1 I/O-6) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:37:30,319 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,322 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=lGmud4kMrhuMsObqr8VzRn_bIncHW8AZP6tnxMdh.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:37:30,326 DEBUG (XNIO-1 I/O-6) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{http2-clear-upgrade}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
14:40:02,150 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:40:02,155 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:40:02,161 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,167 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,174 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@158f5a3 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,181 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@6e13b9 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
14:40:02,189 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:40:02,194 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:40:02,201 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,207 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,215 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@97b968 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,223 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@445e76 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:40:02,232 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:40:02,238 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
14:40:02,244 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,252 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,259 DEBUG (XNIO-1 I/O-5) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:40:02,274 ERROR (XNIO-1 I/O-5) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

14:40:02,284 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,290 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=pDGHLcUnqlzuudWqwnMJWNSBdPHVICzSFSS9F5_P.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
14:40:02,299 DEBUG (XNIO-1 I/O-5) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)


@@ -59,6 +60,9 @@
*/
public class ResourceHandler implements HttpHandler {

private static final List<HttpString> KNOWN_METHODS = Arrays.asList(Methods.OPTIONS, Methods.GET, Methods.HEAD,
Methods.POST, Methods.PUT, Methods.DELETE, Methods.TRACE);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this me part of Methods?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could probably move it to Methods and call it HTTP11_PRESCRIBED or some such.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a set rather than a list, although I don't think it is really necessary to move it

@TomasHofman
Copy link
Contributor Author

Retest this please.

@undertow-pull-request
Copy link

Windows Build 1803 outcome was FAILURE using a merge of 3b9d00f
Summary: Execution timeout; tests failed: 4, passed: 2497, ignored: 543 Build time: 00:30:04

Failed tests

io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
17:32:18,505 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:32:18,509 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:32:18,515 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:32:18,521 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:32:18,529 DEBUG (XNIO-1 I/O-1) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:32:18,542 ERROR (XNIO-1 I/O-1) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:32:18,551 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:32:18,557 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:32:18,563 DEBUG (XNIO-1 I/O-1) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:32:18,578 ERROR (XNIO-1 I/O-1) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{ajp}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
17:34:46,325 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:34:46,329 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:34:46,335 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:34:46,341 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:34:46,348 DEBUG (XNIO-1 I/O-3) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:34:46,363 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:34:46,371 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:34:46,377 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:34:46,384 DEBUG (XNIO-1 I/O-3) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:34:46,397 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{https}: java.lang.AssertionError: Test failed with i=0 expected:<200> but was:<503>
------- Stderr: -------
17:37:11,665 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:37:11,667 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:37:11,670 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:37:11,673 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:37:11,677 DEBUG (XNIO-1 I/O-2) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:37:11,685 ERROR (XNIO-1 I/O-2) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:37:11,689 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:37:11,692 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
17:37:11,695 DEBUG (XNIO-1 I/O-2) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:37:11,709 ERROR (XNIO-1 I/O-2) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{http2-clear}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
17:42:24,688 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:42:24,692 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:42:24,698 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,704 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,711 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@f69ffc for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,718 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@1c5f6da for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
17:42:24,725 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
17:42:24,731 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
17:42:24,737 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,744 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,752 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@16824f6 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,761 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:643> Received response io.undertow.client.ClientResponse@1e76823 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
17:42:24,769 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
17:42:24,774 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
17:42:24,780 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,787 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,794 DEBUG (XNIO-1 I/O-4) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:42:24,809 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:679> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

17:42:24,818 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:513> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,824 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:520> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], cookie=[JSESSIONID=Rs6_aCm3PzsXYXnKsRJPrUGuDUYFrpkh4_n6a7hx.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
17:42:24,832 DEBUG (XNIO-1 I/O-4) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)


if (KNOWN_METHODS.contains(exchange.getRequestMethod())) {
exchange.setStatusCode(StatusCodes.METHOD_NOT_ALLOWED);
exchange.getResponseHeaders().add(Headers.ALLOW,
String.join(", ", Methods.GET_STRING, Methods.HEAD_STRING, Methods.POST_STRING));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also added Allow header to solve https://issues.jboss.org/browse/JBEAP-6257

@undertow-pull-request
Copy link

Windows Build 1808 outcome was FAILURE using a merge of 83e9e6f
Summary: Execution timeout; tests failed: 16 (16 new), passed: 1328, ignored: 412 Build time: 00:30:04

Failed tests

io.undertow.server.handlers.proxy.LoadBalancingProxyHttpsTestCase.testDuplicateHeaders: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
01:44:59,808 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:44:59,810 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:44:59,937 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@d77ee for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:44:59,944 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=jArE3enssl__US9BLaSM8Gn2J91rSItKtFTW8mVV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
01:44:59,950 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=jArE3enssl__US9BLaSM8Gn2J91rSItKtFTW8mVV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
01:44:59,957 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@b59f7b for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=jArE3enssl__US9BLaSM8Gn2J91rSItKtFTW8mVV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
01:44:59,966 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=jArE3enssl__US9BLaSM8Gn2J91rSItKtFTW8mVV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
01:44:59,971 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=jArE3enssl__US9BLaSM8Gn2J91rSItKtFTW8mVV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
01:44:59,978 DEBUG (XNIO-1 I/O-4) [io.undertow.request.io] <SslConduit.java:614> UT005013: An IOException occurred: java.io.IOException: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:614)
    at io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:983)
    at io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1078)
    at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:799)
    at io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:849)
    at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:371)
    at io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:114)
    at io.undertow.client.http.HttpRequestConduit.flush(HttpRequestConduit.java:632)
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.flush(AbstractFixedLengthStreamSinkConduit.java:229)
    at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:403)
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:331)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:517)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:795)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:293)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:267)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:330)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:517)
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:301)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:287)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:223)
    at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:243)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:134)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:58)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
Caused by: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
    at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:612)
    ... 29 more

01:45:00,018 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /session failed: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytesFailed{proxy}{http2}: java.lang.AssertionError
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytesFailed(ReceiverTestCase.java:194)
------- Stderr: -------
01:56:08,988 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}
01:56:08,992 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}
01:56:09,228 DEBUG (XNIO-1 I/O-3) [io.undertow.request.io] <SslConduit.java:614> UT005013: An IOException occurred: java.io.IOException: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:614)
    at io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:983)
    at io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1078)
    at io.undertow.protocols.ssl.UndertowSslConnection.closeAction(UndertowSslConnection.java:149)
    at org.xnio.Connection.close(Connection.java:132)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.protocol.framed.AbstractFramedChannel.close(AbstractFramedChannel.java:791)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.protocols.http2.Http2Channel.sendGoAway(Http2Channel.java:714)
    at io.undertow.protocols.http2.Http2Channel.sendGoAway(Http2Channel.java:694)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:308)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$IoExceptionHandler.handleException(ProxyHandler.java:750)
    at org.xnio.ChannelListeners.invokeChannelExceptionHandler(ChannelListeners.java:126)
    at io.undertow.util.Transfer$TransferListener.handleEvent(Transfer.java:218)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel$1.run(AbstractFramedStreamSinkChannel.java:216)
    at io.undertow.server.protocol.framed.AbstractFramedChannel$3.run(AbstractFramedChannel.java:232)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)
Caused by: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
    at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)
    at io.undertow.protocols.ssl.ALPNHackSSLEngine.closeInbound(ALPNHackSSLEngine.java:279)
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:612)
    ... 19 more

01:56:09,255 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /fullbytes failed: java.nio.channels.ClosedChannelException
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$IoExceptionHandler.handleException(ProxyHandler.java:750)
    at org.xnio.ChannelListeners.invokeChannelExceptionHandler(ChannelListeners.java:126)
    at io.undertow.util.Transfer$TransferListener.handleEvent(Transfer.java:218)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel$1.run(AbstractFramedStreamSinkChannel.java:216)
    at io.undertow.server.protocol.framed.AbstractFramedChannel$3.run(AbstractFramedChannel.java:232)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

01:56:09,267 DEBUG (XNIO-1 I/O-3) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 500 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:686)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)


io.undertow.server.handlers.RequestLimitingHandlerTestCase.testRateLimitingHandlerQueueFull{proxy}{http2-clear}: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.RequestLimitingHandlerTestCase.testRateLimitingHandlerQueueFull(RequestLimitingHandlerTestCase.java:148)
Caused by: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
Caused by: java.net.SocketTimeoutException: Read timed out
------- Stderr: -------
01:58:45,029 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,029 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,032 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,031 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,034 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,040 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,046 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,051 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,052 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,059 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,060 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,066 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,064 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,075 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,073 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,072 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,072 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,069 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,094 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,093 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,089 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,084 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,084 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,079 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,079 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,119 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,114 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,113 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,109 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,103 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,100 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,096 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,136 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,133 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,131 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,125 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,121 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,167 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:58:45,162 DEBUG (XNIO-1 task-9) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 513 for exchange HttpServerExchange{ GET / request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.ResponseCodeHandler.handleRequest(ResponseCodeHandler.java:79)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:207)
    at io.undertow.server.handlers.RequestLimit$2.run(RequestLimit.java:117)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:223)
    at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:810)


io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 1
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString(ReceiverTestCase.java:210)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString(ReceiverTestCase.java:210)
------- Stderr: -------
01:59:17,582 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:17,584 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:17,591 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@11b0d71 for request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialString{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 6
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialString(ReceiverTestCase.java:167)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialString(ReceiverTestCase.java:167)
------- Stderr: -------
01:59:47,609 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,614 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,632 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@480e27 for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,645 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,650 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,658 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@dccf66 for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,682 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,687 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,697 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@a8d366 for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,710 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[44000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,715 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[44000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,726 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@1f664d5 for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[44000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,741 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[55000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,746 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[55000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,757 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@17fa26c for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[55000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,771 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[66000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,777 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[66000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
01:59:47,788 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@18cc277 for request ClientRequest{path='/partialstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[66000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytes{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 3
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytes(ReceiverTestCase.java:172)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytes(ReceiverTestCase.java:172)
------- Stderr: -------
02:00:17,817 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,822 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,836 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@3208ef for request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,848 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,853 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,861 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@1a55f28 for request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,874 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,879 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:00:17,887 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@d00c11 for request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /fullbytes request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}


io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeBytes{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 0
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeBytes(ReceiverTestCase.java:216)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeBytes(ReceiverTestCase.java:216)


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytesFailed{proxy}{http2-clear}: java.lang.AssertionError
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeBytesFailed(ReceiverTestCase.java:194)
------- Stderr: -------
02:01:17,918 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}
02:01:17,924 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}
02:01:17,994 ERROR (XNIO-1 I/O-7) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /fullbytes failed: java.nio.channels.ClosedChannelException
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$IoExceptionHandler.handleException(ProxyHandler.java:750)
    at org.xnio.ChannelListeners.invokeChannelExceptionHandler(ChannelListeners.java:126)
    at io.undertow.util.Transfer$TransferListener.handleEvent(Transfer.java:218)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel$1.run(AbstractFramedStreamSinkChannel.java:216)
    at io.undertow.server.protocol.framed.AbstractFramedChannel$3.run(AbstractFramedChannel.java:232)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

02:01:17,996 DEBUG (XNIO-1 I/O-5) [io.undertow.request.io] <Http2Channel.java:262> UT005013: An IOException occurred: java.nio.channels.ClosedChannelException
    at io.undertow.server.protocol.framed.AbstractFramedChannel.queueFrame(AbstractFramedChannel.java:706)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel.queueFinalFrame(AbstractFramedStreamSinkChannel.java:256)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel.shutdownWrites(AbstractFramedStreamSinkChannel.java:241)
    at io.undertow.protocols.http2.Http2Channel.flushChannel(Http2Channel.java:267)
    at io.undertow.protocols.http2.Http2Channel.flushChannelIgnoreFailure(Http2Channel.java:260)
    at io.undertow.protocols.http2.Http2Channel.sendRstStream(Http2Channel.java:902)
    at io.undertow.protocols.http2.Http2StreamSourceChannel.channelForciblyClosed(Http2StreamSourceChannel.java:228)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSourceChannel.close(AbstractFramedStreamSourceChannel.java:617)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.protocols.http2.Http2Channel.closeSubChannels(Http2Channel.java:566)
    at io.undertow.server.protocol.framed.AbstractFramedChannel.markReadsBroken(AbstractFramedChannel.java:822)
    at io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:475)
    at io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:102)
    at io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:55)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:923)
    at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:904)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

02:01:18,007 DEBUG (XNIO-1 I/O-7) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 500 for exchange HttpServerExchange{ POST /fullbytes request {Content-Length=[130000100], Host=[localhost]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:686)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$IoExceptionHandler.handleException(ProxyHandler.java:750)
    at org.xnio.ChannelListeners.invokeChannelExceptionHandler(ChannelListeners.java:126)
    at io.undertow.util.Transfer$TransferListener.handleEvent(Transfer.java:218)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel$1.run(AbstractFramedStreamSinkChannel.java:216)


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeString{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 1
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeString(ReceiverTestCase.java:162)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceiveWholeString(ReceiverTestCase.java:162)
------- Stderr: -------
02:01:19,942 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:19,947 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:19,962 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@1c9d4a1 for request ClientRequest{path='/fullstring', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:19,973 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/fullstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:19,978 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/fullstring', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:49,975 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:335> UT005027: Timi


io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 1
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)
------- Stderr: -------
02:01:50,535 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:50,540 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialbytes', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:01:50,550 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@a72575 for request ClientRequest{path='/partialbytes', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}


io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialBytes{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 1
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialBytes(ReceiverTestCase.java:221)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialBytes(ReceiverTestCase.java:221)
------- Stderr: -------
02:02:20,574 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialbytes?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:02:20,579 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialbytes?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
02:02:20,587 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@11831f9 for request ClientRequest{path='/partialbytes?blocking', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialbytes request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}



##### there are 6 more failed tests, see build details

@undertow-pull-request
Copy link

Windows Build 1810 outcome was FAILURE using a merge of 83e9e6f
Summary: Execution timeout; tests failed: 20 (8 new), passed: 1318, ignored: 412 Build time: 00:30:04

Failed tests

io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{ajp}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
07:51:24,865 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:51:24,870 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:51:24,876 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,882 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,888 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@135b37b for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Content-Length=[0], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,897 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@f6934a for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:51:24,904 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:51:24,909 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:51:24,924 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,931 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,940 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@148c072 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,948 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@7af863 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:51:24,956 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:51:24,961 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:51:24,968 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,976 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:24,983 DEBUG (XNIO-1 I/O-3) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)
    at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

07:51:24,998 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)

07:51:25,005 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:25,013 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=IBy0JAt2A9XE5zCqR0XZ4U2-uPGT2XZgVR4MT2gk.s1], Content-Length=[0], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:51:25,022 DEBUG (XNIO-1 I/O-3) [io.undertow.client] <HttpClientConnection.java:525> Connection closed with IOException: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)


io.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{https}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
07:53:48,904 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:53:48,909 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:53:48,915 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,922 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,928 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@1cb9ec5 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,936 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@1c33c1c for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:53:48,943 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:48,949 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:48,955 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,963 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,970 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@193797e for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:48,978 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@64270c for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:48,986 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:48,991 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:48,997 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}
07:53:58,998 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:335> UT005027: Timing out request to localhost/127.0.0.1:7779/session
07:53:59,000 DEBUG (XNIO-1 I/O-4) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 503 for exchange HttpServerExchange{ GET /session request {a=[b, b, b, b, b, b, b, b], X-Forwarded-Server=[localhost], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Connection=[keep-alive], X-Forwarded-Proto=[http], X-Forwarded-Port=[7777], X-Forwarded-For=[127.0.0.1], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], Cookie2=[$Version=1], Host=[localhost:7777], X-Forwarded-Host=[localhost]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:343)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

07:53:59,012 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@613730 for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:53:59,019 DEBUG (XNIO-1 I/O-2) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 503 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=dfiXo92aYSaXebU5ukah-KVdIINmcmHLR6iEc44i.s2], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.completed(ProxyHandler.java:649)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.completed(ProxyHandler.java:627)
    at io.undertow.client.http.HttpClientExchange.setResponse(HttpClientExchange.java:115)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:596)
    at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1128)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)


io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeString{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 0
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeString(ReceiverTestCase.java:205)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceiveWholeString(ReceiverTestCase.java:205)
------- Stderr: -------
05027: Timing out request to localhost/127.0.0.1:8888/fullstring
08:03:42,594 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /fullstring failed: java.nio.channels.ClosedChannelException
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

08:03:42,603 DEBUG (XNIO-1 I/O-3) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 500 for exchange HttpServerExchange{ POST /fullstring request {Connection=[Keep-Alive], Content-Length=[44000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:686)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)


io.undertow.server.handlers.PredicatedHandlersTestCase.testRewrite{proxy}{http2-clear}: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.PredicatedHandlersTestCase.testRewrite(PredicatedHandlersTestCase.java:67)
------- Stderr: -------
08:05:43,947 WARN  (main) [io.undertow] <PredicatedHandlersParser.java:460> UT005060: Predicate path(/skipallrules) and true -> done
method(GET) -> set(attribute='%{o,type}', value=get) 
regex('(.*).css') -> {rewrite['${1}.xcss'];set(attribute='%{o,chained}', value=true)} 
regex('(.*).redirect$') -> redirect['${1}.redirected']




set[attribute='%{o,someHeader}', value=always]
path-template('/foo/{bar}/{f}') -> set[attribute='%{o,template}', value='${bar}']
path-template('/bar->foo') -> redirect(/);regex('(.*).css') -> set[attribute='%{o,css}', value='true'] else set[attribute='%{o,css}', value='false']; path(/restart) -> {rewrite(/foo/a/b); restart; }
 uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)
08:05:43,956 WARN  (main) [io.undertow] <PredicatedHandlersParser.java:460> UT005060: Predicate path(/skipallrules) and true -> done
method(GET) -> set(attribute='%{o,type}', value=get) 
regex('(.*).css') -> {rewrite['${1}.xcss'];set(attribute='%{o,chained}', value=true)} 
regex('(.*).redirect$') -> redirect['${1}.redirected']




set[attribute='%{o,someHeader}', value=always]
path-template('/foo/{bar}/{f}') -> set[attribute='%{o,template}', value='${bar}']
path-template('/bar->foo') -> redirect(/);regex('(.*).css') -> set[attribute='%{o,css}', value='true'] else set[attribute='%{o,css}', value='false']; path(/restart) -> {rewrite(/foo/a/b); restart; }
 uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)
08:05:43,965 WARN  (main) [io.undertow] <PredicatedHandlersParser.java:460> UT005060: Predicate path(/skipallrules) and true -> done
method(GET) -> set(attribute='%{o,type}', value=get) 
regex('(.*).css') -> {rewrite['${1}.xcss'];set(attribute='%{o,chained}', value=true)} 
regex('(.*).redirect$') -> redirect['${1}.redirected']




set[attribute='%{o,someHeader}', value=always]
path-template('/foo/{bar}/{f}') -> set[attribute='%{o,template}', value='${bar}']
path-template('/bar->foo') -> redirect(/);regex('(.*).css') -> set[attribute='%{o,css}', value='true'] else set[attribute='%{o,css}', value='false']; path(/restart) -> {rewrite(/foo/a/b); restart; }
 uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)
08:05:43,975 WARN  (main) [io.undertow] <PredicatedHandlersParser.java:460> UT005060: Predicate path(/skipallrules) and true -> done
method(GET) -> set(attribute='%{o,type}', value=get) 
regex('(.*).css') -> {rewrite['${1}.xcss'];set(attribute='%{o,chained}', value=true)} 
regex('(.*).redirect$') -> redirect['${1}.redirected']




set[attribute='%{o,someHeader}', value=always]
path-template('/foo/{bar}/{f}') -> set[attribute='%{o,template}', value='${bar}']
path-template('/bar->foo') -> redirect(/);regex('(.*).css') -> set[attribute='%{o,css}', value='true'] else set[attribute='%{o,css}', value='false']; path(/restart) -> {rewrite(/foo/a/b); restart; }
 uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)


io.undertow.server.handlers.PathTemplateHandlerTestCase.testPathTemplateHandler{proxy}{http2-clear}: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.PathTemplateHandlerTestCase.testPathTemplateHandler(PathTemplateHandlerTestCase.java:71)
------- Stderr: -------
1 I/O-1) [io.undertow.client] <HttpClientConnection.java:502> Connection to localhost/127.0.0.1:7778 was closed by the target server


io.undertow.server.handlers.LotsOfQueryParametersTestCase.testLotsOfQueryParameters{proxy}{http2-clear}: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.LotsOfQueryParametersTestCase.testLotsOfQueryParameters(LotsOfQueryParametersTestCase.java:78)
------- Stderr: -------
08:06:44,866 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/path?HEADER0=Hello+Header0&HEADER1=Hello+Header1&HEADER2=Hello+Header2&HEADER3=Hello+Header3&HEADER4=Hello+Header4&HEADER5=Hello+Header5&HEADER6=Hello+Header6&HEADER7=Hello+Header7&HEADER8=Hello+Header8&HEADER9=Hello+Header9&HEADER10=Hello+Header10&HEADER11=Hello+Header11&HEADER12=Hello+Header12&HEADER13=Hello+Header13&HEADER14=Hello+Header14&HEADER15=Hello+Header15&HEADER16=Hello+Header16&HEADER17=Hello+Header17&HEADER18=Hello+Header18&HEADER19=Hello+Header19&HEADER20=Hello+Header20&HEADER21=Hello+Header21&HEADER22=Hello+Header22&HEADER23=Hello+Header23&HEADER24=Hello+Header24&HEADER25=Hello+Header25&HEADER26=Hello+Header26&HEADER27=Hello+Header27&HEADER28=Hello+Header28&HEADER29=Hello+Header29&HEADER30=Hello+Header30&HEADER31=Hello+Header31&HEADER32=Hello+Header32&HEADER33=Hello+Header33&HEADER34=Hello+Header34&HEADER35=Hello+Header35&HEADER36=Hello+Header36&HEADER37=Hello+Header37&HEADER38=Hello+Header38&HEADER39=Hello+Header39&HEADER40=Hello+Header40&HEADER41=Hello+Header41&HEADER42=Hello+Header42&HEADER43=Hello+Header43&HEADER44=Hello+Header44&HEADER45=Hello+Header45&HEADER46=Hello+Header46&HEADER47=Hello+Header47&HEADER48=Hello+Header48&HEADER49=Hello+Header49&HEADER50=Hello+Header50&HEADER51=Hello+Header51&HEADER52=Hello+Header52&HEADER53=Hello+Header53&HEADER54=Hello+Header54&HEADER55=Hello+Header55&HEADER56=Hello+Header56&HEADER57=Hello+Header57&HEADER58=Hello+Header58&HEADER59=Hello+Header59&HEADER60=Hello+Header60&HEADER61=Hello+Header61&HEADER62=Hello+Header62&HEADER63=Hello+Header63&HEADER64=Hello+Header64&HEADER65=Hello+Header65&HEADER66=Hello+Header66&HEADER67=Hello+Header67&HEADER68=Hello+Header68&HEADER69=Hello+Header69&HEADER70=Hello+Header70&HEADER71=Hello+Header71&HEADER72=Hello+Header72&HEADER73=Hello+Header73&HEADER74=Hello+Header74&HEADER75=Hello+Header75&HEADER76=Hello+Header76&HEADER77=Hello+Header77&HEADER78=Hello+Header78&HEADER79=Hello+Header79&HEADER80=Hello+Header80&HEADER81=Hello+Header81&HEADER82=Hello+Header82&HEADER83=Hello+Header83&HEADER84=Hello+Header84&HEADER85=Hello+Header85&HEADER86=Hello+Header86&HEADER87=Hello+Header87&HEADER88=Hello+Header88&HEADER89=Hello+Header89&HEADER90=Hello+Header90&HEADER91=Hello+Header91&HEADER92=Hello+Header92&HEADER93=Hello+Header93&HEADER94=Hello+Header94&HEADER95=Hello+Header95&HEADER96=Hello+Header96&HEADER97=Hello+Header97&HEADER98=Hello+Header98&HEADER99=Hello+Header99&HEADER100=Hello+Header100&HEADER101=Hello+Header101&HEADER102=Hello+Header102&HEADER103=Hello+Header103&HEADER104=Hello+Header104&HEADER105=Hello+Header105&HEADER106=Hello+Header106&HEADER107=Hello+Header107&HEADER108=Hello+Header108&HEADER109=Hello+Header109&HEADER110=Hello+Header110&HEADER111=Hello+Header111&HEADER112=Hello+Header112&HEADER113=Hello+Header113&HEADER114=Hello+Header114&HEADER115=Hello+Header115&HEADER116=Hello+Header116&HEADER117=Hello+Header117&HEADER118=Hello+Header118&HEADER119=Hello+Header119&HEADER120=Hello+Header120&HEADER121=Hello+Header121&HEADER122=Hello+Header122&HEADER123=Hello+Header123&HEADER124=Hello+Header124&HEADER125=Hello+Header125&HEADER126=Hello+Header126&HEADER127=Hello+Header127&HEADER128=Hello+Header128&HEADER129=Hello+Header129&HEADER130=Hello+Header130&HEADER131=Hello+Header131&HEADER132=Hello+Header132&HEADER133=Hello+Header133&HEADER134=Hello+Header134&HEADER135=Hello+Header135&HEADER136=Hello+Header136&HEADER137=Hello+Header137&HEADER138=Hello+Header138&HEADER139=Hello+Header139&HEADER140=Hello+Header140&HEADER141=Hello+Header141&HEADER142=Hello+Header142&HEADER143=Hello+Header143&HEADER144=Hello+Header144&HEADER145=Hello+Header145&HEADER146=Hello+Header146&HEADER147=Hello+Header147&HEADER148=Hello+Header148&HEADER149=Hello+Header149&HEADER150=Hello+Header150&HEADER151=Hello+Header151&HEADER152=Hello+Header152&HEADER153=Hello+Header153&HEADER154=Hello+Header154&HEADER155=Hello+Header155&HEADER156=Hello+Header156&HEADER157=Hello+Header157&HEADER158=Hello+Header158&HEADER159=Hello+Header159&HEADER160=Hello+Header160&HEADER161=Hello+Header161&HEADER162=Hello+Header162&HEADER163=Hello+Header163&HEADER164=Hello+Header164&HEADER165=Hello+Header165&HEADER166=Hello+Header166&HEADER167=Hello+Header167&HEADER168=Hello+Header168&HEADER169=Hello+Header169&HEADER170=Hello+Header170&HEADER171=Hello+Header171&HEADER172=Hello+Header172&HEADER173=Hello+Header173&HEADER174=Hello+Header174&HEADER175=Hello+Header175&HEADER176=Hello+Header176&HEADER177=Hello+Header177&HEADER178=Hello+Header178&HEADER179=Hello+Header179&HEADER180=Hello+Header180&HEADER181=Hello+Header181&HEADER182=Hello+Header182&HEADER183=Hello+Header183&HEADER184=Hello+Header184&HEADER185=Hello+Header185&HEADER186=Hello+Header186&HEADER187=Hello+Header187&HEADER188=Hello+Header188&HEADER189=Hello+Header189&HEADER190=Hello+Header190&HEADER191=Hello+Header191&HEADER192=Hello+Header192&HEADER193=Hello+Header193&HEADER194=Hello+Header194&HEADER195=Hello+Header195&HEADER196=Hello+Header196&HEADER197=Hello+Header197&HEADER198=Hello+Header198&HEADER199=Hello+Header199&', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /path request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:06:44,892 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/path?HEADER0=Hello+Header0&HEADER1=Hello+Header1&HEADER2=Hello+Header2&HEADER3=Hello+Header3&HEADER4=Hello+Header4&HEADER5=Hello+Header5&HEADER6=Hello+Header6&HEADER7=Hello+Header7&HEADER8=Hello+Header8&HEADER9=Hello+Header9&HEADER10=Hello+Header10&HEADER11=Hello+Header11&HEADER12=Hello+Header12&HEADER13=Hello+Header13&HEADER14=Hello+Header14&HEADER15=Hello+Header15&HEADER16=Hello+Header16&HEADER17=Hello+Header17&HEADER18=Hello+Header18&HEADER19=Hello+Header19&HEADER20=Hello+Header20&HEADER21=Hello+Header21&HEADER22=Hello+Header22&HEADER23=Hello+Header23&HEADER24=Hello+Header24&HEADER25=Hello+Header25&HEADER26=Hello+Header26&HEADER27=Hello+Header27&HEADER28=Hello+Header28&HEADER29=Hello+Header29&HEADER30=Hello+Header30&HEADER31=Hello+Header31&HEADER32=Hello+Header32&HEADER33=Hello+Header33&HEADER34=Hello+Header34&HEADER35=Hello+Header35&HEADER36=Hello+Header36&HEADER37=Hello+Header37&HEADER38=Hello+Header38&HEADER39=Hello+Header39&HEADER40=Hello+Header40&HEADER41=Hello+Header41&HEADER42=Hello+Header42&HEADER43=Hello+Header43&HEADER44=Hello+Header44&HEADER45=Hello+Header45&HEADER46=Hello+Header46&HEADER47=Hello+Header47&HEADER48=Hello+Header48&HEADER49=Hello+Header49&HEADER50=Hello+Header50&HEADER51=Hello+Header51&HEADER52=Hello+Header52&HEADER53=Hello+Header53&HEADER54=Hello+Header54&HEADER55=Hello+Header55&HEADER56=Hello+Header56&HEADER57=Hello+Header57&HEADER58=Hello+Header58&HEADER59=Hello+Header59&HEADER60=Hello+Header60&HEADER61=Hello+Header61&HEADER62=Hello+Header62&HEADER63=Hello+Header63&HEADER64=Hello+Header64&HEADER65=Hello+Header65&HEADER66=Hello+Header66&HEADER67=Hello+Header67&HEADER68=Hello+Header68&HEADER69=Hello+Header69&HEADER70=Hello+Header70&HEADER71=Hello+Header71&HEADER72=Hello+Header72&HEADER73=Hello+Header73&HEADER74=Hello+Header74&HEADER75=Hello+Header75&HEADER76=Hello+Header76&HEADER77=Hello+Header77&HEADER78=Hello+Header78&HEADER79=Hello+Header79&HEADER80=Hello+Header80&HEADER81=Hello+Header81&HEADER82=Hello+Header82&HEADER83=Hello+Header83&HEADER84=Hello+Header84&HEADER85=Hello+Header85&HEADER86=Hello+Header86&HEADER87=Hello+Header87&HEADER88=Hello+Header88&HEADER89=Hello+Header89&HEADER90=Hello+Header90&HEADER91=Hello+Header91&HEADER92=Hello+Header92&HEADER93=Hello+Header93&HEADER94=Hello+Header94&HEADER95=Hello+Header95&HEADER96=Hello+Header96&HEADER97=Hello+Header97&HEADER98=Hello+Header98&HEADER99=Hello+Header99&HEADER100=Hello+Header100&HEADER101=Hello+Header101&HEADER102=Hello+Header102&HEADER103=Hello+Header103&HEADER104=Hello+Header104&HEADER105=Hello+Header105&HEADER106=Hello+Header106&HEADER107=Hello+Header107&HEADER108=Hello+Header108&HEADER109=Hello+Header109&HEADER110=Hello+Header110&HEADER111=Hello+Header111&HEADER112=Hello+Header112&HEADER113=Hello+Header113&HEADER114=Hello+Header114&HEADER115=Hello+Header115&HEADER116=Hello+Header116&HEADER117=Hello+Header117&HEADER118=Hello+Header118&HEADER119=Hello+Header119&HEADER120=Hello+Header120&HEADER121=Hello+Header121&HEADER122=Hello+Header122&HEADER123=Hello+Header123&HEADER124=Hello+Header124&HEADER125=Hello+Header125&HEADER126=Hello+Header126&HEADER127=Hello+Header127&HEADER128=Hello+Header128&HEADER129=Hello+Header129&HEADER130=Hello+Header130&HEADER131=Hello+Header131&HEADER132=Hello+Header132&HEADER133=Hello+Header133&HEADER134=Hello+Header134&HEADER135=Hello+Header135&HEADER136=Hello+Header136&HEADER137=Hello+Header137&HEADER138=Hello+Header138&HEADER139=Hello+Header139&HEADER140=Hello+Header140&HEADER141=Hello+Header141&HEADER142=Hello+Header142&HEADER143=Hello+Header143&HEADER144=Hello+Header144&HEADER145=Hello+Header145&HEADER146=Hello+Header146&HEADER147=Hello+Header147&HEADER148=Hello+Header148&HEADER149=Hello+Header149&HEADER150=Hello+Header150&HEADER151=Hello+Header151&HEADER152=Hello+Header152&HEADER153=Hello+Header153&HEADER154=Hello+Header154&HEADER155=Hello+Header155&HEADER156=Hello+Header156&HEADER157=Hello+Header157&HEADER158=Hello+Header158&HEADER159=Hello+Header159&HEADER160=Hello+Header160&HEADER161=Hello+Header161&HEADER162=Hello+Header162&HEADER163=Hello+Header163&HEADER164=Hello+Header164&HEADER165=Hello+Header165&HEADER166=Hello+Header166&HEADER167=Hello+Header167&HEADER168=Hello+Header168&HEADER169=Hello+Header169&HEADER170=Hello+Header170&HEADER171=Hello+Header171&HEADER172=Hello+Header172&HEADER173=Hello+Header173&HEADER174=Hello+Header174&HEADER175=Hello+Header175&HEADER176=Hello+Header176&HEADER177=Hello+Header177&HEADER178=Hello+Header178&HEADER179=Hello+Header179&HEADER180=Hello+Header180&HEADER181=Hello+Header181&HEADER182=Hello+Header182&HEADER183=Hello+Header183&HEADER184=Hello+Header184&HEADER185=Hello+Header185&HEADER186=Hello+Header186&HEADER187=Hello+Header187&HEADER188=Hello+Header188&HEADER189=Hello+Header189&HEADER190=Hello+Header190&HEADER191=Hello+Header191&HEADER192=Hello+Header192&HEADER193=Hello+Header193&HEADER194=Hello+Header194&HEADER195=Hello+Header195&HEADER196=Hello+Header196&HEADER197=Hello+Header197&HEADER198=Hello+Header198&HEADER199=Hello+Header199&', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /path request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}


io.undertow.server.handlers.LotsOfHeadersResponseTestCase.testLotsOfHeadersInResponse{proxy}{http2-clear}: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.LotsOfHeadersResponseTestCase.testLotsOfHeadersInResponse(LotsOfHeadersResponseTestCase.java:68)
------- Stderr: -------
08:07:14,868 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:335> UT005027: Timing out request to localhost/127.0.0.1:8888/path
08:07:14,870 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /path failed: java.nio.channels.ClosedChannelException
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

08:07:14,873 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:335> UT005027: Timing out request to localhost/127.0.0.1:8888/path
08:07:14,874 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /path failed: java.nio.channels.ClosedChannelException
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.failed(ProxyHandler.java:301)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:684)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)

08:07:14,884 DEBUG (XNIO-1 I/O-3) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 503 for exchange HttpServerExchange{ GET /path request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.couldNotResolveBackend(ProxyHandler.java:326)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.failed(ProxyHandler.java:312)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:684)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.failed(ProxyHandler.java:301)
    at io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:684)
    at io.undertow.client.http2.Http2ClientExchange.failed(Http2ClientExchange.java:124)
    at io.undertow.client.http2.Http2ClientConnection.close(Http2ClientConnection.java:311)
    at org.xnio.IoUtils.safeClose(IoUtils.java:134)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.cancel(ProxyHandler.java:336)
    at io.undertow.server.handlers.proxy.ProxyHandler$1.run(ProxyHandler.java:181)
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)


io.undertow.server.handlers.LongURLTestCase.testLargeURL{proxy}{http2-clear}: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.LongURLTestCase.testLargeURL(LongURLTestCase.java:70)


io.undertow.server.handlers.proxy.LoadBalancingProxyHttpsTestCase.testDuplicateHeaders: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<503>
------- Stderr: -------
07:46:39,086 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:46:39,090 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:46:39,226 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@b65b5f for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
07:46:39,236 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=0cS0QVSeQ45aK0Yb7WCa73S-aPa1nYjXmVuPAkcs.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:46:39,241 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=0cS0QVSeQ45aK0Yb7WCa73S-aPa1nYjXmVuPAkcs.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:46:39,249 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@678c8a for request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=0cS0QVSeQ45aK0Yb7WCa73S-aPa1nYjXmVuPAkcs.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:46:39,257 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=0cS0QVSeQ45aK0Yb7WCa73S-aPa1nYjXmVuPAkcs.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:46:39,264 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/session', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET /session request {Connection=[close], a=[b, b, b, b, b, b, b, b], Cookie=[JSESSIONID=0cS0QVSeQ45aK0Yb7WCa73S-aPa1nYjXmVuPAkcs.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}
07:46:39,270 DEBUG (XNIO-1 I/O-4) [io.undertow.request.io] <SslConduit.java:614> UT005013: An IOException occurred: java.io.IOException: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:614)
    at io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:983)
    at io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1078)
    at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:799)
    at io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:849)
    at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:371)
    at io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:114)
    at io.undertow.client.http.HttpRequestConduit.flush(HttpRequestConduit.java:632)
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.flush(AbstractFixedLengthStreamSinkConduit.java:229)
    at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:403)
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:331)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:517)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:795)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:293)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:267)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:330)
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:517)
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:301)
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:287)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:223)
    at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:243)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:134)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:58)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
Caused by: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
    at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)
    at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:612)
    ... 29 more

07:46:39,310 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:681> UT005028: Proxy request to /session failed: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)


io.undertow.server.handlers.RequestLimitingHandlerTestCase.testRateLimitingHandlerQueueFull{proxy}{http2-clear}: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.RequestLimitingHandlerTestCase.testRateLimitingHandlerQueueFull(RequestLimitingHandlerTestCase.java:148)
Caused by: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
Caused by: java.net.SocketTimeoutException: Read timed out
------- Stderr: -------
08:00:36,411 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,416 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,418 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,424 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,424 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,428 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,434 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,440 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,443 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,448 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,441 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,454 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,452 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,449 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,468 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,447 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,471 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,466 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,465 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,460 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,457 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,457 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,499 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,494 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,489 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,485 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,481 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,477 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,517 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,512 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,508 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,504 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,501 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,539 DEBUG (XNIO-1 I/O-6) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,526 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,524 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/', method=GET, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ GET / request {Connection=[Keep-Alive], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:00:36,549 DEBUG (XNIO-1 task-11) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 513 for exchange HttpServerExchange{ GET / request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[127.0.0.1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}: java.lang.RuntimeException
    at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1379)
    at io.undertow.server.handlers.ResponseCodeHandler.handleRequest(ResponseCodeHandler.java:79)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:207)
    at io.undertow.server.handlers.RequestLimit$2.run(RequestLimit.java:117)
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:223)
    at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:810)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)


io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString{proxy}{http2-clear}: java.lang.RuntimeException: test failed with i equal to 2
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString(ReceiverTestCase.java:210)
Caused by: java.net.SocketTimeoutException: Read timed out
    at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:244)
    at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
    at io.undertow.server.handlers.ReceiverTestCase.testBlockingReceivePartialString(ReceiverTestCase.java:210)
------- Stderr: -------
08:01:08,986 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:08,991 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,002 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@bd9bb2 for request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[11000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,013 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,018 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,024 DEBUG (XNIO-1 I/O-2) [io.undertow.server.handlers.proxy] <ProxyHandler.java:645> Received response io.undertow.client.ClientResponse@857c8a for request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[22000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,036 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:515> Sending request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:09,041 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:522> Sent request ClientRequest{path='/partialstring?blocking', method=POST, protocol=HTTP/1.1} to target 127.0.0.1 for exchange HttpServerExchange{ POST /partialstring request {Connection=[Keep-Alive], Content-Length=[33000], Content-Type=[text/plain; charset=ISO-8859-1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Host=[localhost:7777]} response {}}
08:01:39,037 ERROR (XNIO-1 I/O-3) [io.undertow.proxy] <ProxyHandler.java:335> UT005027: Timing out req



##### there are 10 more failed tests, see build details

@stuartwdouglas stuartwdouglas merged commit 548a6d5 into undertow-io:master Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants