You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2020/03/27 14:56:41 UTC
[qpid-dispatch] branch master updated: DISPATCH-1610 - Added call
to qd_conn_event_batch_complete() if a PN_TRANSPORT_CLOSED event is
received. This will clean up the qd_pn_free_link_session_t objects. This
closes #710
This is an automated email from the ASF dual-hosted git repository.
gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new fbc5298 DISPATCH-1610 - Added call to qd_conn_event_batch_complete() if a PN_TRANSPORT_CLOSED event is received. This will clean up the qd_pn_free_link_session_t objects. This closes #710
fbc5298 is described below
commit fbc5298edc63e0b06f08b1cb8ffa65bff63e6d18
Author: Ganesh Murthy <gm...@apache.org>
AuthorDate: Wed Mar 25 15:57:23 2020 -0400
DISPATCH-1610 - Added call to qd_conn_event_batch_complete() if a PN_TRANSPORT_CLOSED event is received. This will clean up the qd_pn_free_link_session_t objects. This closes #710
---
src/server.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/server.c b/src/server.c
index 0e62aa8..6d6d289 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1041,6 +1041,7 @@ static void *thread_run(void *arg)
/* Free the connection after all other processing is complete */
if (qd_conn && pn_event_type(e) == PN_TRANSPORT_CLOSED) {
+ qd_conn_event_batch_complete(qd_server->container, qd_conn, true);
pn_connection_set_context(pn_conn, NULL);
qd_connection_free(qd_conn);
qd_conn = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org