We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test: ConnectionManagementIT.clientMustNotReuseTcpConnectionWhenReceivesConnectionClose() cannot connect with the two connections.
ConnectionManagementIT.clientMustNotReuseTcpConnectionWhenReceivesConnectionClose()
To Reproduce: uncomment the ignored test in http connector class ConnectionManagementIT.
From PR #658.
Logs:
=================== BEGIN STORED LOG MESSAGES =========================== Printing last 22 of 22 log messages 0 transport.http.connect [Time-limited test] DEBUG connect - Cache miss - NO cached persistent connection: server = http://localhost:8080/path 3 transport.tcp.connect [Time-limited test] TRACE connect - AbstractNioConnector.init() 8 transport.tcp.connect [Time-limited test] DEBUG connect - TCP connector: worker count = 4 266 transport.tcp.connect [Time-limited test] TRACE connect - AbstractNioConnector.connectInternal(), resource: tcp://127.0.0.1:8080 341 transport.tcp.accept [Time-limited test] DEBUG accept - nextWorker: returning worker #1 of 4 432 transport.tcp.connect [New I/O worker #1] TRACE connect - AbstractNioConnector.connectInternal()$initializeSession(), session: (#00000001: kaazing niosocketchannel, client, /127.0.0.1:57788 => /127.0.0.1:8080), resource: tcp://127.0.0.1:8080 541 transport.tcp.connect [New I/O worker #1] INFO connect - [tcp#1 127.0.0.1:57788] OPENED: (#00000001: kaazing niosocketchannel, client, /127.0.0.1:57788 => /127.0.0.1:8080) 678 transport.tcp.connect [New I/O worker #1] TRACE connect - [tcp#1 127.0.0.1:57788] WRITE: REQUEST: HTTP/1.1 GET /path HEADERS: {User-Agent=[Kaazing Gateway], Host=[localhost:8080], Content-Length=[0], Connection=[close]} null 710 transport.http.connect [New I/O worker #1] INFO connect - [http#2 127.0.0.1:57788] OPENED: (#00000002: kzg http, client, http://localhost:8080/path => http://localhost:8080/path) 724 org.kaazing.mina.filter.codec.ProtocolCodecFilter [New I/O worker #1] DEBUG ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1 785 org.kaazing.gateway.transport.http.bridge.filter.HttpResponseDecodingState [New I/O worker #1] DEBUG HttpResponseDecodingState - "200 OK HTTP/1.1" 786 transport.tcp.connect [New I/O worker #1] TRACE connect - [tcp#1 127.0.0.1:57788] RECEIVED: RESPONSE: 200 OK HTTP/1.1 HEADERS: {Connection=[close], Content-Length=[0]} null 869 transport.tcp.connect [New I/O worker #1] INFO connect - [tcp#1 127.0.0.1:57788] CLOSED: (#00000001: kaazing niosocketchannel, client, /127.0.0.1:57788 => /127.0.0.1:8080) 870 transport.http.connect [New I/O worker #1] INFO connect - [http#2 127.0.0.1:57788] CLOSED: (#00000002: kzg http, client, http://localhost:8080/path => http://localhost:8080/path) 871 performance.tcp [New I/O worker #1] DEBUG tcp - AbstractNioWorker.process(Selector) took 159 ms: 1 reads, 0 writes 876 transport.http.connect [Time-limited test] DEBUG connect - Cache miss - NO cached persistent connection: server = http://localhost:8080/path2 876 transport.tcp.connect [Time-limited test] TRACE connect - AbstractNioConnector.connectInternal(), resource: tcp://127.0.0.1:8080 876 transport.tcp.accept [Time-limited test] DEBUG accept - nextWorker: returning worker #2 of 4 880 transport.tcp.connect [New I/O worker #2] TRACE connect - AbstractNioConnector.connectInternal()$initializeSession(), session: (#00000003: kaazing niosocketchannel, client, /127.0.0.1:57789 => /127.0.0.1:8080), resource: tcp://127.0.0.1:8080 883 transport.tcp.connect [New I/O worker #2] INFO connect - [tcp#3 127.0.0.1:57789] OPENED: (#00000003: kaazing niosocketchannel, client, /127.0.0.1:57789 => /127.0.0.1:8080) 885 transport.tcp.connect [New I/O worker #2] INFO connect - [tcp#3 127.0.0.1:57789] CLOSED: (#00000003: kaazing niosocketchannel, client, /127.0.0.1:57789 => /127.0.0.1:8080) 887 transport.http.connect [New I/O worker #2] INFO connect - [http#4 127.0.0.1:57789] OPENED: (#00000004: kzg http, client, http://localhost:8080/path2 => http://localhost:8080/path2) =================== END STORED LOG MESSAGES ===========================
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Test:
ConnectionManagementIT.clientMustNotReuseTcpConnectionWhenReceivesConnectionClose()
cannot connect with the two connections.To Reproduce: uncomment the ignored test in http connector class ConnectionManagementIT.
From PR #658.
Logs:
The text was updated successfully, but these errors were encountered: