aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppOutgoingServer.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-03-16 18:28:22 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-03-16 18:28:22 +0000
commit1bd3eecff28c2b0d080102c26fd89dc3f56b4e09 (patch)
tree9e01e3ed2ea90c3401542d27dec4d35d1d14763c /src/QXmppOutgoingServer.h
parent248529ee6842f65526ce313992185450a55867fe (diff)
downloadqxmpp-1bd3eecff28c2b0d080102c26fd89dc3f56b4e09.tar.gz
catch socket errors for outgoing S2S connections, otherwise they never get terminated
Diffstat (limited to 'src/QXmppOutgoingServer.h')
-rw-r--r--src/QXmppOutgoingServer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/QXmppOutgoingServer.h b/src/QXmppOutgoingServer.h
index 25d816b1..1ac726bd 100644
--- a/src/QXmppOutgoingServer.h
+++ b/src/QXmppOutgoingServer.h
@@ -24,6 +24,8 @@
#ifndef QXMPPOUTGOINGSERVER_H
#define QXMPPOUTGOINGSERVER_H
+#include <QAbstractSocket>
+
#include "QXmppStream.h"
class QSslError;
@@ -68,6 +70,7 @@ private slots:
void connectToHost(const QXmppSrvInfo &serviceInfo);
void sendDialback();
void slotSslErrors(const QList<QSslError> &errors);
+ void socketError(QAbstractSocket::SocketError error);
private:
Q_DISABLE_COPY(QXmppOutgoingServer)