From 8adf5ab2e13813b0f381c08ee94a654ee41fa3b6 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 25 Jan 2012 20:31:50 +0000 Subject: QPID-3603: Avoid endless reconnect loop in python client. In the case where a connection succeeds up to connect-ok but immediately aborts the python client would loop forever re-trying the same address. The fix is not to reset the index on connect-ok so the client try each address in turn for the full list of addresses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235918 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/messaging/driver.py | 1 - 1 file changed, 1 deletion(-) (limited to 'python') diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py index 23efeaaa4f..dda5e38a61 100644 --- a/python/qpid/messaging/driver.py +++ b/python/qpid/messaging/driver.py @@ -533,7 +533,6 @@ class Driver: log.warn("reconnect succeeded: %s:%s", host, port) self._next_retry = None self._attempts = 0 - self._host = 0 self._delay = self.connection.reconnect_interval_min self._retrying = False self.schedule() -- cgit v1.2.1