Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2018-05-01 02:30:39 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2018-05-01 13:14:23 +0300
commite471a74e40d378d2c27e1a045b511d7b33c9e31c (patch)
tree46598a317024171b2f0da0e14525978e5d586015 /nbxmpp/bosh.py
parent541d0da11e3c81c20dd797687d0da2d367b45244 (diff)
Record all ssl errors that are encountered
Diffstat (limited to 'nbxmpp/bosh.py')
-rw-r--r--nbxmpp/bosh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nbxmpp/bosh.py b/nbxmpp/bosh.py
index 2d6fa0c..1babfeb 100644
--- a/nbxmpp/bosh.py
+++ b/nbxmpp/bosh.py
@@ -93,8 +93,10 @@ class NonBlockingBOSH(NonBlockingTransport):
# ssl variables
self.ssl_certificate = None
+ # first ssl error
self.ssl_errnum = 0
-
+ # all ssl errors
+ self.ssl_errors = []
def connect(self, conn_5tuple, on_connect, on_connect_failure):
NonBlockingTransport.connect(self, conn_5tuple, on_connect, on_connect_failure)