From 1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 25 Sep 2015 19:34:04 +0200 Subject: Reset the DNS answers after a connection is made succesfully --- slixmpp/xmlstream/xmlstream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 28bfb17c..f11a4a16 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -348,6 +348,7 @@ class XMLStream(asyncio.BaseProtocol): self.socket = self.transport.get_extra_info("socket") self.init_parser() self.send_raw(self.stream_header) + self.dns_answers = None def data_received(self, data): """Called when incoming data is received on the socket. -- cgit v1.2.3