summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-07 01:38:15 -0700
committerLance Stout <lancestout@gmail.com>2012-08-07 01:38:15 -0700
commitaebcf6ff828bf179af95df38d7f8ffa54f289c36 (patch)
treeaf8ece6d41d6325a7393ec2e2f44dc811c18fc12
parent8c2ece3bca24c8b6452860db916713b55455050e (diff)
downloadslixmpp-aebcf6ff828bf179af95df38d7f8ffa54f289c36.tar.gz
slixmpp-aebcf6ff828bf179af95df38d7f8ffa54f289c36.tar.bz2
slixmpp-aebcf6ff828bf179af95df38d7f8ffa54f289c36.tar.xz
slixmpp-aebcf6ff828bf179af95df38d7f8ffa54f289c36.zip
Re-add connection delay after exhausting DNS records.
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 216c0ed3..f72171a1 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -479,7 +479,7 @@ class XMLStream(object):
log.debug("No remaining DNS records to try.")
self.dns_answers = None
if reattempt:
- self.reconnect_delay = None
+ self.reconnect_delay = delay
return False
af = Socket.AF_INET