qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject qpid-dispatch git commit: DISPATCH-250: Policy don't count connection closure for outbound connector connections
Date Fri, 01 Apr 2016 22:21:15 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master be393a3f2 -> 762f6f831


DISPATCH-250: Policy don't count connection closure for outbound connector connections


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/762f6f83
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/762f6f83
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/762f6f83

Branch: refs/heads/master
Commit: 762f6f831ac29f89937843967cff37a62b5a5539
Parents: be393a3
Author: Chuck Rolke <crolke@redhat.com>
Authored: Fri Apr 1 18:20:45 2016 -0400
Committer: Chuck Rolke <crolke@redhat.com>
Committed: Fri Apr 1 18:20:45 2016 -0400

----------------------------------------------------------------------
 src/server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/762f6f83/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index 2b5e5c9..1929775 100644
--- a/src/server.c
+++ b/src/server.c
@@ -957,7 +957,7 @@ static void *thread_run(void *arg)
                 sys_mutex_lock(qd_server->lock);
                 DEQ_REMOVE(qd_server->connections, ctx);
 
-                if (!ctx->connector) {
+                if (!ctx->connector && ctx->open_container) {
                     qd_policy_socket_close(qd_server->qd->policy, ctx);
                 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message