summaryrefslogtreecommitdiff
path: root/kafka/conn.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2017-03-03 10:07:59 -0800
committerGitHub <noreply@github.com>2017-03-03 10:07:59 -0800
commit861b9e9b6516d94c2f932651b8baa7fb5ed9bd0b (patch)
tree760449c29a4a25c977eb016dc362152ec59aa18e /kafka/conn.py
parent3a630f2f886d9182bc6fe593d3659b0f3986fb4b (diff)
downloadkafka-python-861b9e9b6516d94c2f932651b8baa7fb5ed9bd0b.tar.gz
Fix sasl reconnect bug: auth future must be reset on close (#1003)
Diffstat (limited to 'kafka/conn.py')
-rw-r--r--kafka/conn.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kafka/conn.py b/kafka/conn.py
index 88013f0..ae3c55d 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -504,6 +504,7 @@ class BrokerConnection(object):
self._sock.close()
self._sock = None
self.state = ConnectionStates.DISCONNECTED
+ self._sasl_auth_future = None
self._receiving = False
self._next_payload_bytes = 0
self._rbuffer.seek(0)