diff options
author | Ryan Chu <ryan.chu@qt.io> | 2019-08-27 13:29:31 +0200 |
---|---|---|
committer | Ryan Chu <ryan.chu@qt.io> | 2019-08-28 13:03:39 +0200 |
commit | 470a1cb4e43d410cb0d05286b286f491c85ffd29 (patch) | |
tree | ea36024222f902fe96e1eb4162192f05a29cac3f /src/websockets/qwebsocketdataprocessor_p.h | |
parent | ceeb9952b29345b662669a6a0a5c4dadf49db114 (diff) | |
download | qtwebsockets-470a1cb4e43d410cb0d05286b286f491c85ffd29.tar.gz |
QWebsocket doesn't receive message with size larger than 1M
If the processing of QWebSocketFrame is not done and waiting for more
data, QWebSocketPrivate::processData should return the control and wait
for next readyRead signal.
Continue the change of b2fc794ffaf48c9d9c401b54cf39ea0220617a27
Change-Id: Idf5af0710267e59e63b8e234d6dab5843d821696
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/websockets/qwebsocketdataprocessor_p.h')
-rw-r--r-- | src/websockets/qwebsocketdataprocessor_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsocketdataprocessor_p.h b/src/websockets/qwebsocketdataprocessor_p.h index 41226d6..03635b1 100644 --- a/src/websockets/qwebsocketdataprocessor_p.h +++ b/src/websockets/qwebsocketdataprocessor_p.h @@ -88,7 +88,7 @@ Q_SIGNALS: void errorEncountered(QWebSocketProtocol::CloseCode code, const QString &description); public Q_SLOTS: - void process(QIODevice *pIoDevice); + bool process(QIODevice *pIoDevice); void clear(); private: |