BOSH connection error
bug description
The same problem as described in [https://trac.gajim.org/ticket/7567] . BOSH connection is not working.
bug analysis
This bug was caused by Changeset 65:a7f633ee2fc2
The call for NonBlockingHTTPBOSH
in NonBlockingBOSH.get_new_http_socket
is missing the cipher_list
parameter.
fix recommendation
Add the missing parameter.
diff -r a7f633ee2fc2 nbxmpp/bosh.py
--- a/nbxmpp/bosh.py Sun Nov 03 17:55:20 2013 +0100
+++ b/nbxmpp/bosh.py Fri Nov 29 13:07:26 2013 +0000
@@ -68,6 +68,7 @@
self.bosh_secure = 'true'
else:
self.bosh_secure = 'false'
+ self.cipher_list = cipher_list
self.use_proxy_auth = bosh_dict['useauth']
self.proxy_creds = proxy_creds
self.wait_cb_time = None
@@ -450,6 +451,7 @@
on_disconnect=self.disconnect,
idlequeue = self.idlequeue,
estabilish_tls = self.estabilish_tls,
+ cipher_list = self.cipher_list,
certs = self.certs,
on_http_request_possible = self.on_http_request_possible,
http_dict = http_dict,