Charles E. Rolke created DISPATCH-2087:
------------------------------------------

             Summary: TCP adaptor listener connections hang if no connectors 
are defined
                 Key: DISPATCH-2087
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2087
             Project: Qpid Dispatch
          Issue Type: Bug
            Reporter: Charles E. Rolke


The proposed 1.16.0 freeze version of the TCP adaptor may have two start up 
problems:
 * a connector is defined but the server is absent
 * no connector is defined

If a connector is defined but the server is absent:
 * A client connects to the listener. Listener starts with SYN, SYN/ACK, ACK.
 * The client sends the first payload bytes; listener ACKs
 * The server connection fails with SYN, RST/ACK, ACK.
 * The client connection is closed with FIN, FIN/ACK, ACK

If a connector is not defined:
 * A client connects to the listener. Listener starts with SYN, SYN/ACK, ACK.
 * The client sends the first payload bytes
 * No further traffic is passed on the client connection
 * Even if the server is started while the client is waiting no further traffic 
is passed on the to the client.

Leaving the client connected forever with no hope of ever passing data is a 
bug. Two approaches that would improve service for the client:
 * If there is no connector then close the client connection immediately
 * If the client connection is left open then when a tcpConnector is defined 
attach that connector's server to the in-progress listener connection.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to