summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authorAnton Ryzhov <anton@ryzhov.me>2013-03-28 21:52:18 +0400
committerAnton Ryzhov <anton@ryzhov.me>2013-03-28 22:09:33 +0400
commita0c77c04a5d7185fe01729961d05eccdba4d37e7 (patch)
tree4d97209627fd7729fbec613f060ae9012a3159f3 /sleekxmpp/xmlstream/xmlstream.py
parent620ee9719f06043a8865dd74f7ce1231ae16ba53 (diff)
downloadslixmpp-a0c77c04a5d7185fe01729961d05eccdba4d37e7.tar.gz
slixmpp-a0c77c04a5d7185fe01729961d05eccdba4d37e7.tar.bz2
slixmpp-a0c77c04a5d7185fe01729961d05eccdba4d37e7.tar.xz
slixmpp-a0c77c04a5d7185fe01729961d05eccdba4d37e7.zip
XMLStream `proxy_error` event duplicated with `connection_failed`
SASL `no_auth` event duplicated with `failed_auth`
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index e55e78e7..f9a9c5a5 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -610,6 +610,7 @@ class XMLStream(object):
lines = resp.split('\r\n')
if '200' not in lines[0]:
self.event('proxy_error', resp)
+ self.event('connection_failed', direct=True)
log.error('Proxy Error: %s', lines[0])
return False