summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-10-02 13:55:07 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-10-02 13:55:07 +0200
commit6484afa4b7645b31e370f4eb8ea0b93fc3bf052a (patch)
tree9ff1eacd8dcb1943613785e3ad6df77bf38523bb /src/websockets/qwebsocket_p.h
parentf11862a05591452bdad9c1abd244288a2964a036 (diff)
parent12e424f241b29ef26ad2a3a70740d8b320e9e85a (diff)
downloadqtwebsockets-6484afa4b7645b31e370f4eb8ea0b93fc3bf052a.tar.gz
Merge remote-tracking branch 'origin/5.5' into 5.6
Conflicts: tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp Change-Id: Ie4184b0788b6a0a5a85ca8e4d1547c33f7027ca0
Diffstat (limited to 'src/websockets/qwebsocket_p.h')
-rw-r--r--src/websockets/qwebsocket_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/websockets/qwebsocket_p.h b/src/websockets/qwebsocket_p.h
index 260e8e8..037df61 100644
--- a/src/websockets/qwebsocket_p.h
+++ b/src/websockets/qwebsocket_p.h
@@ -143,6 +143,7 @@ public:
QSslConfiguration sslConfiguration() const;
#endif
+ void closeGoingAway();
void close(QWebSocketProtocol::CloseCode closeCode, QString reason);
void open(const QNetworkRequest &request, bool mask);
void ping(const QByteArray &payload);
@@ -197,7 +198,7 @@ private:
qint64 writeFrames(const QList<QByteArray> &frames) Q_REQUIRED_RESULT;
qint64 writeFrame(const QByteArray &frame) Q_REQUIRED_RESULT;
- QScopedPointer<QTcpSocket> m_pSocket;
+ QTcpSocket *m_pSocket;
QString m_errorString;
QWebSocketProtocol::Version m_version;
QUrl m_resource;