You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2021/05/05 19:06:00 UTC

[jira] [Updated] (DISPATCH-2087) TCP adaptor listener connections hang if no connectors are defined

     [ https://issues.apache.org/jira/browse/DISPATCH-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles E. Rolke updated DISPATCH-2087:
---------------------------------------
    Fix Version/s: 1.17.0

> 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
>            Priority: Major
>             Fix For: 1.17.0
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org