Author: mgoulish
Date: Thu Feb 5 15:32:28 2015
New Revision: 1657604
URL: http://svn.apache.org/r1657604
Log:
DISPATCH-106 : pn link corruption after router restart
Events must be processed one more time on a dead connector,
because those events are what makes the stale links gets
cleaned up.
Modified:
qpid/dispatch/trunk/src/server.c
Modified: qpid/dispatch/trunk/src/server.c
URL:
http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/server.c?rev=1657604&r1=1657603&r2=1657604&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/server.c (original)
+++ qpid/dispatch/trunk/src/server.c Thu Feb 5 15:32:28 2015
@@ -574,8 +574,12 @@ static void *thread_run(void *arg)
if (qdpn_connector_failed(cxtr))
qdpn_connector_close(cxtr);
- else
- work_done = process_connector(qd_server, cxtr);
+
+ //
+ // Even if the connector has failed there are still events that
+ // must be processed so that associated links will be cleaned up.
+ //
+ work_done = process_connector(qd_server, cxtr);
//
// Check to see if the connector was closed during processing
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]