diff options
author | Dana Powers <dana.powers@gmail.com> | 2017-03-03 10:07:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 10:07:59 -0800 |
commit | 861b9e9b6516d94c2f932651b8baa7fb5ed9bd0b (patch) | |
tree | 760449c29a4a25c977eb016dc362152ec59aa18e /kafka/conn.py | |
parent | 3a630f2f886d9182bc6fe593d3659b0f3986fb4b (diff) | |
download | kafka-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.py | 1 |
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) |