diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2019-11-08 14:55:54 +0100 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-01-21 13:57:21 +0100 |
commit | 9f1bfd08c47de2a1f59b406ae57e5a90d2670ea6 (patch) | |
tree | 3ed1ef59dadadee9008be92fd48d7ebd94763f8b /src/websockets/qsslserver.cpp | |
parent | 370a7c165bf3bb46195b7077c5a88bd97bb67d17 (diff) | |
download | qtwebsockets-9f1bfd08c47de2a1f59b406ae57e5a90d2670ea6.tar.gz |
Use the new functions/signals introduced in QSslSocket
Task-number: QTBUG-68419
Change-Id: Icdc41079cb946d4316cc0ec2ae40522e6de52725
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/websockets/qsslserver.cpp')
-rw-r--r-- | src/websockets/qsslserver.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/websockets/qsslserver.cpp b/src/websockets/qsslserver.cpp index ec645c9..7f33a9d 100644 --- a/src/websockets/qsslserver.cpp +++ b/src/websockets/qsslserver.cpp @@ -121,6 +121,12 @@ void QSslServer::incomingConnection(qintptr socket) this, &QSslServer::socketEncrypted); connect(pSslSocket, &QSslSocket::preSharedKeyAuthenticationRequired, this, &QSslServer::preSharedKeyAuthenticationRequired); + connect(pSslSocket, &QSslSocket::alertSent, + this, &QSslServer::alertSent); + connect(pSslSocket, &QSslSocket::alertReceived, + this, &QSslServer::alertReceived); + connect(pSslSocket, &QSslSocket::handshakeInterruptedOnError, + this, &QSslServer::handshakeInterruptedOnError); Q_EMIT startedEncryptionHandshake(pSslSocket); |