[
https://issues.apache.org/jira/browse/DISPATCH-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Giusti reassigned DISPATCH-2093:
------------------------------------
Assignee: Ken Giusti (was: Charles E. Rolke)
> [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.17.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: [email protected]
For additional commands, e-mail: [email protected]