aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-08-24 08:32:43 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-08-24 08:32:43 +0200
commit3c9ef4a8749dfe847138da4658d62cfbc84a116a (patch)
treeb3e3555cb91266eb7c7eed6fb7bb377e0c6baa65
parent1c28cc6f1cca7c1cd941e6402027be2ee2c8c42b (diff)
downloadqxmpp-3c9ef4a8749dfe847138da4658d62cfbc84a116a.tar.gz
stop STUN retry timer when transaction completes
-rw-r--r--src/base/QXmppStun.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/QXmppStun.cpp b/src/base/QXmppStun.cpp
index 0fd49195..3b8a73d0 100644
--- a/src/base/QXmppStun.cpp
+++ b/src/base/QXmppStun.cpp
@@ -1105,6 +1105,7 @@ void QXmppStunTransaction::readStun(const QXmppStunMessage &response)
if (response.messageClass() == QXmppStunMessage::Error ||
response.messageClass() == QXmppStunMessage::Response) {
m_response = response;
+ m_retryTimer->stop();
emit finished();
}
}