summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-09-25 19:34:04 +0200
committermathieui <mathieui@mathieui.net>2015-09-25 19:34:04 +0200
commit1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0 (patch)
treed5487153b627f363d1ba6618c28183ec01a6ec33 /slixmpp/xmlstream/xmlstream.py
parentc17fc3a869d132d9d41ebc4081ce29f898404889 (diff)
downloadslixmpp-1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0.tar.gz
slixmpp-1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0.tar.bz2
slixmpp-1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0.tar.xz
slixmpp-1100ff1febf7e605e03fd9565bdac5fdaa3bf1e0.zip
Reset the DNS answers after a connection is made succesfully
Diffstat (limited to 'slixmpp/xmlstream/xmlstream.py')
-rw-r--r--slixmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
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.