qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject [2/2] qpid-dispatch git commit: DISPATCH-164 - Added missing connector-close-on-transport-error
Date Fri, 11 Sep 2015 12:56:04 GMT
DISPATCH-164 - Added missing connector-close-on-transport-error


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

Branch: refs/heads/master
Commit: a0bd623399200a3b15ad9eceb0c0211605b75767
Parents: cf85a11
Author: Ted Ross <tross@redhat.com>
Authored: Fri Sep 11 08:53:48 2015 -0400
Committer: Ted Ross <tross@redhat.com>
Committed: Fri Sep 11 08:53:48 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/a0bd6233/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index 32af591..f5606a3 100644
--- a/src/server.c
+++ b/src/server.c
@@ -431,6 +431,7 @@ static int process_connector(qd_server_t *qd_server, qdpn_connector_t
*cxtr)
                 break;  // Break without popping this event.  It will be re-processed in
OPERATIONAL state.
             } else if (pn_event_type(event) == PN_TRANSPORT_ERROR) {
                 ctx->closed = true;
+                qdpn_connector_close(cxtr);
                 if (ctx->connector) {
                     const qd_server_config_t *config = ctx->connector->config;
                     qd_log(qd_server->log_source, QD_LOG_TRACE, "Connection to %s:%s failed",
config->host, config->port);


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


Mime
View raw message