aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-06-01 18:48:58 +0200
committerfiaxh <git@lightrise.org>2019-06-01 19:03:01 +0200
commit8120203d62f52315f04364e70b3ac6beefe043de (patch)
treec994364641429f50ae36b3e68bb5811326fcd488 /xmpp-vala/src/module
parent8aab18c1ec37fd427e2dcaa2ee37be8467d15d16 (diff)
downloaddino-8120203d62f52315f04364e70b3ac6beefe043de.tar.gz
dino-8120203d62f52315f04364e70b3ac6beefe043de.zip
Don't set timeouts on registration connection attempts
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/xep/0368_srv_records_tls.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0368_srv_records_tls.vala b/xmpp-vala/src/module/xep/0368_srv_records_tls.vala
index a40d0bb5..3d0708fb 100644
--- a/xmpp-vala/src/module/xep/0368_srv_records_tls.vala
+++ b/xmpp-vala/src/module/xep/0368_srv_records_tls.vala
@@ -36,6 +36,7 @@ public class TlsConnectionProvider : ConnectionProvider {
public async override IOStream? connect(XmppStream stream) {
SocketClient client = new SocketClient();
try {
+ debug("Connecting to %s %i (tls)", srv_target.get_hostname(), srv_target.get_port());
IOStream? io_stream = yield client.connect_to_host_async(srv_target.get_hostname(), srv_target.get_port());
TlsConnection tls_connection = TlsClientConnection.new(io_stream, new NetworkAddress(stream.remote_name.to_string(), srv_target.get_port()));
tls_connection.accept_certificate.connect(stream.get_module(Tls.Module.IDENTITY).on_invalid_certificate);