summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-10-20 21:12:53 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-10-20 21:12:53 +0200
commitc2201fad153a64f1c6da84390de4316aedf3a2cd (patch)
tree0a499309b34087ff7390d77f3a6e8c0266cdd213 /src/websockets/qwebsocket_p.h
parentd0f71b3feaca6923e89f85993f13cc9da0923412 (diff)
parentb59b0634715c13a191b678a0652ea4e3274865fa (diff)
downloadqtwebsockets-c2201fad153a64f1c6da84390de4316aedf3a2cd.tar.gz
Merge remote-tracking branch 'origin/5.6' into dev
Change-Id: I8d2c4b0982623839b880a9d8fbe7f5ee69d33ad3
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;