19#include <QtNetwork/private/qtnetworkglobal_p.h>
21#include <QtCore/qhash.h>
22#include <QtCore/qtimer.h>
24#include <QtNetwork/QSslConfiguration>
25#include <QtNetwork/private/qtcpserver_p.h>
32 static constexpr int DefaultHandshakeTimeout = 5'000;
37 void checkClientHelloAndContinue();
49 std::shared_ptr<QTimer> &&
timer)
50 : readyReadConnection(readyRead),
51 destroyedConnection(destroyed),
65 int handshakeTimeout = DefaultHandshakeTimeout;
static bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *member)
\threadsafe
The QSslConfiguration class holds the configuration and state of an SSL connection.
QSslConfiguration sslConfiguration
QHash< quintptr, SocketData > socketData
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
virtual int totalPendingConnections() const
Combined button and popup list for selecting options.
SocketData(QMetaObject::Connection readyRead, QMetaObject::Connection destroyed, std::shared_ptr< QTimer > &&timer)
std::shared_ptr< QTimer > timeoutTimer
QMetaObject::Connection destroyedConnection
QMetaObject::Connection readyReadConnection