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

[jira] [Updated] (DISPATCH-2093) [tcp] TCP deliveries are counted as modified

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

Ken Giusti updated DISPATCH-2093:
---------------------------------
    Fix Version/s:     (was: 1.17.0)
                   1.18.0

> [tcp] TCP deliveries are counted as modified
> --------------------------------------------
>
>                 Key: DISPATCH-2093
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2093
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors
>    Affects Versions: 1.15.0, 1.16.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.18.0
>
>
> TCP deliveries that pass over inter router links are being counted as 'modified' once the TCP connections complete.   Since the inter router links survive much longer than the TCP links, the "modified" counters are visible long after TCP i done.
>  
> Proposed fix:
> Add to void handle_disconnected(qdr_tcp_connection_t* conn):
> {{qd_log(tcp_adaptor->log_source, QD_LOG_DEBUG, "[C%"PRIu64"][L%"PRIu64"] handle_disconnected - close outstream", conn->conn_id, conn->outgoing_id);}}
> {{+ qdr_delivery_remote_state_updated(tcp_adaptor->core,}}
> {{+                                   conn->outstream,}}
> {{+                                   PN_ACCEPTED,}}
> {{+                                   true, // settled,}}
> {{+                                   0, // delivery state}}
> {{+                                   false);}}
> {{qdr_delivery_decref(tcp_adaptor->core, conn->outstream, "tcp-adaptor.handle_disconnected - outstream");}}
>  



--
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