From 039a2136304912450d93308367eb0717b65fbf75 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Wed, 14 Nov 2007 23:18:56 +0000 Subject: Enable old-style SSL (on port 5223) with no certificate verification, so we can take advantage of SSL-layer compression. --- diff --git a/src/server_plugin.py b/src/server_plugin.py index fa7efdf..4e793f1 100644 --- a/src/server_plugin.py +++ b/src/server_plugin.py @@ -22,6 +22,7 @@ from itertools import izip from string import hexdigits # Other libraries +import dbus import gobject from telepathy.client import (ConnectionManager, Connection) from telepathy.interfaces import (CONN_MGR_INTERFACE, CONN_INTERFACE, @@ -80,6 +81,9 @@ class ServerPlugin(TelepathyPlugin): 'fallback-conference-server': "conference.%s" % server, 'password': self._owner.get_key_hash(), 'register': not self._owner.get_registered(), + 'port': dbus.UInt32(5223), + 'old-ssl': True, + 'ignore-ssl-errors': True, } def suggest_room_for_activity(self, activity_id): -- cgit v0.9.1