diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2013-11-01 13:12:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-01 13:13:35 +0100 |
commit | d26e2ce1594af6e9088b176ccb31c4033e367839 (patch) | |
tree | a083044aa5ef67fddf3a57f67f4f1b5630468909 /src/websockets/qwebsocket_p.h | |
parent | 3501d4e9c315af97f0d7878d1af7f4300a815ea3 (diff) | |
download | qtwebsockets-d26e2ce1594af6e9088b176ccb31c4033e367839.tar.gz |
Add functionality to ignore ssl errors
Change-Id: I81248b9af104c0b3d37c9cfcef250a102f4b1d32
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocket_p.h')
-rw-r--r-- | src/websockets/qwebsocket_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket_p.h b/src/websockets/qwebsocket_p.h index 90543e3..345b63a 100644 --- a/src/websockets/qwebsocket_p.h +++ b/src/websockets/qwebsocket_p.h @@ -113,6 +113,10 @@ public Q_SLOTS: void open(const QUrl &url, bool mask); void ping(const QByteArray &payload); +#ifndef QT_NO_SSL + void ignoreSslErrors(); +#endif + private Q_SLOTS: void processData(); void processPing(QByteArray data); @@ -126,6 +130,7 @@ private: #ifndef QT_NO_SSL QSslConfiguration m_sslConfiguration; QList<QSslError> m_ignoredSslErrors; + bool m_ignoreSslErrors; #endif QWebSocketPrivate(QTcpSocket *pTcpSocket, QWebSocketProtocol::Version version, QWebSocket *pWebSocket, QObject *parent = Q_NULLPTR); |