{"action":"created","issue":{"url":"https://api.github.com/repos/undertow-io/undertow/issues/394","repository_url":"https://api.github.com/repos/undertow-io/undertow","labels_url":"https://api.github.com/repos/undertow-io/undertow/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/undertow-io/undertow/issues/394/comments","events_url":"https://api.github.com/repos/undertow-io/undertow/issues/394/events","html_url":"https://github.com/undertow-io/undertow/pull/394","id":153542343,"number":394,"title":"UNDERTOW-709 (part 2) Cleanup the local list and weak references afte…","user":{"login":"n1hility","id":273664,"avatar_url":"https://avatars.githubusercontent.com/u/273664?v=3","gravatar_id":"","url":"https://api.github.com/users/n1hility","html_url":"https://github.com/n1hility","followers_url":"https://api.github.com/users/n1hility/followers","following_url":"https://api.github.com/users/n1hility/following{/other_user}","gists_url":"https://api.github.com/users/n1hility/gists{/gist_id}","starred_url":"https://api.github.com/users/n1hility/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1hility/subscriptions","organizations_url":"https://api.github.com/users/n1hility/orgs","repos_url":"https://api.github.com/users/n1hility/repos","events_url":"https://api.github.com/users/n1hility/events{/privacy}","received_events_url":"https://api.github.com/users/n1hility/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T21:31:33Z","updated_at":"2016-05-06T22:00:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/undertow-io/undertow/pulls/394","html_url":"https://github.com/undertow-io/undertow/pull/394","diff_url":"https://github.com/undertow-io/undertow/pull/394.diff","patch_url":"https://github.com/undertow-io/undertow/pull/394.patch"},"body":"…r collection. Also fix potential race during close.\r\n\r\nWith this approach, there should be no real additional overhead in the recommended case of a fixed pool. It only comes into play when threads are reaped, and in such scenarios there is an attempt to minimize the amount of list reorganization that occurs, by waiting until a sufficient portion of the list contains stale entries.\r\n\r\nThis could be further improved to occasionally shrink the capacity of the list, but in my testing the size of the list stabilizes fairly quickly, so I'm not sure its necessary."},"comment":{"url":"https://api.github.com/repos/undertow-io/undertow/issues/comments/217570816","html_url":"https://github.com/undertow-io/undertow/pull/394#issuecomment-217570816","issue_url":"https://api.github.com/repos/undertow-io/undertow/issues/394","id":217570816,"user":{"login":"undertow-pull-request","id":3935797,"avatar_url":"https://avatars.githubusercontent.com/u/3935797?v=3","gravatar_id":"","url":"https://api.github.com/users/undertow-pull-request","html_url":"https://github.com/undertow-pull-request","followers_url":"https://api.github.com/users/undertow-pull-request/followers","following_url":"https://api.github.com/users/undertow-pull-request/following{/other_user}","gists_url":"https://api.github.com/users/undertow-pull-request/gists{/gist_id}","starred_url":"https://api.github.com/users/undertow-pull-request/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undertow-pull-request/subscriptions","organizations_url":"https://api.github.com/users/undertow-pull-request/orgs","repos_url":"https://api.github.com/users/undertow-pull-request/repos","events_url":"https://api.github.com/users/undertow-pull-request/events{/privacy}","received_events_url":"https://api.github.com/users/undertow-pull-request/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T22:00:46Z","updated_at":"2016-05-06T22:00:46Z","body":"**Windows** [Build 1642](https://ci.wildfly.org/viewLog.html?buildId=15642&buildTypeId=UNDERTOW_MasterWindows) outcome was **FAILURE** using a merge of cc1dfb6a902d1a049a970b4d370dec56faec060c\nSummary: Tests failed: 2 (1 new), passed: 2158, ignored: 712 Build time: 00:25:36\n### Failed tests\n```\nio.undertow.server.handlers.proxy.LoadBalancingProxyTestCase.testDuplicateHeaders{proxy}{http2-clear-upgrade}: java.lang.AssertionError: Test failed with i=2 expected:<200> but was:<500>\n------- Stderr: -------\n22:48:23,064 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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 {}}\n22:48:23,070 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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 {}}\n22:48:23,075 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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 {}}\n22:48:23,080 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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 {}}\n22:48:23,088 DEBUG (XNIO-1 I/O-8) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@13a55be 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 {}}\n22:48:23,095 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@150fc91 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 {}}\n22:48:23,102 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:48:23,107 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:48:23,115 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}\n22:48:23,120 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}\n22:48:23,129 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@1bd3d33 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}\n22:48:23,136 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@1bb65fa 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:48:23,145 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:48:23,151 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:48:23,158 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}\n22:48:23,164 DEBUG (XNIO-1 I/O-4) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}\n22:48:23,172 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\n\tat sun.nio.ch.SocketDispatcher.read0(Native Method)\n\tat sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)\n\tat sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)\n\tat sun.nio.ch.IOUtil.read(IOUtil.java:192)\n\tat sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)\n\tat org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)\n\tat org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)\n\tat org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:522)\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)\n\tat org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)\n\tat org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)\n\tat org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)\n\tat org.xnio.nio.WorkerThread.run(WorkerThread.java:559)\n\n22:48:23,190 ERROR (XNIO-1 I/O-4) [io.undertow.proxy] <ProxyHandler.java:650> UT005028: Proxy request to /session failed: java.io.IOException: UT001000: Connection closed\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)\n\tat org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)\n\tat org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)\n\tat org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)\n\tat org.xnio.nio.WorkerThread.run(WorkerThread.java:559)\n\n22:48:23,199 DEBUG (XNIO-1 I/O-4) [io.undertow.request.error-response] <DelegatingBasicLogger.java:424> Setting error code 500 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=-6xbX5PmkECQQV0TmXUmZXUBXYmqTGJXemLrC7SV.s1], cookie2=[$Version=1], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}: java.lang.RuntimeException\n\tat io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1369)\n\tat io.undertow.server.handlers.proxy.ProxyHandler$ResponseCallback.failed(ProxyHandler.java:652)\n\tat io.undertow.client.http.HttpClientExchange.setFailed(HttpClientExchange.java:148)\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:528)\n\tat io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:485)\n\tat org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)\n\tat org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)\n\tat org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)\n\n\nio.undertow.server.handlers.proxy.LoadBalancingProxyHttpsTestCase.testDuplicateHeaders: java.lang.AssertionError: Test failed with i=3 expected:<200> but was:<500>\n------- Stderr: -------\n22:37:17,099 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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 {}}\n22:37:17,104 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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 {}}\n22:37:17,117 DEBUG (XNIO-1 I/O-3) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@75fd38 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 {}}\n22:37:17,130 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,135 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,149 DEBUG (XNIO-1 I/O-5) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@3196e5 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,162 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,168 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,180 DEBUG (XNIO-1 I/O-7) [io.undertow.server.handlers.proxy] <ProxyHandler.java:614> Received response io.undertow.client.ClientResponse@e5bed3 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,189 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:497> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,196 DEBUG (XNIO-1 I/O-1) [io.undertow.server.handlers.proxy] <ProxyHandler.java:504> 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=9SgNs0lC0M0Wbp-3BzjCgi_yDXXsl9cJHSBZOqAu.s1], User-Agent=[Apache-HttpClient/4.2.6 (java 1.5)], Cookie2=[$Version=1], Host=[localhost:7777]} response {}}\n22:37:17,202 DEBUG (XNIO-1 I/O-1) [io.undertow.request.io] <SslConduit.java:606> UT005013: An IOException occurred: java.io.IOException: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?\n\tat io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:606)\n\tat io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:971)\n\tat io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1066)\n\tat io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:787)\n\tat io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:837)\n\tat io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:369)\n\tat io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:113)\n\tat io.undertow.client.http.HttpRequestConduit.flush(HttpRequestConduit.java:573)\n\tat io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.flush(AbstractFixedLengthStreamSinkConduit.java:229)\n\tat org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)\n\tat org.xnio.ChannelListeners$14.handleEvent(ChannelListeners.java:413)\n\tat org.xnio.ChannelListeners$14.handleEvent(ChannelListeners.java:409)\n\tat org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)\n\tat org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65)\n\tat io.undertow.protocols.ssl.SslConduit$SslWriteReadyHandler.writeReady(SslConduit.java:1212)\n\tat io.undertow.protocols.ssl.SslConduit$4.run(SslConduit.java:428)\n\tat org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)\n\tat org.xnio.nio.WorkerThread.run(WorkerThread.java:464)\nCaused by: javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?\n\tat sun.security.ssl.Alerts.getSSLException(Alerts.java:208)\n\tat sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)\n\tat sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)\n\tat sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1561)\n\tat io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:604)\n\t... 17 more\n\n22:37:17,231 ERROR (XNIO-1 I/O-1) [io.undertow.proxy] <ProxyHandler.java:650> UT005028: Proxy request to /session failed: java.io.IOException: An established connection was aborted by the software in your host machine\n\tat sun.nio.ch.SocketDispatcher.read0(Native Method)\n\tat sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)\n\tat sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)\n\tat sun.nio.ch.IOUtil.read(IOUtil.java:192)\n\tat sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)\n\tat org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:286)\n\tat io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:692)\n\tat io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:837)\n\tat io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:369)\n\tat io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:113)\n\n\n```\n"}}