summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsockethandshakerequest.cpp
diff options
context:
space:
mode:
authorAleksey Lysenko <lysenkoalexmail@gmail.com>2017-01-03 22:59:36 +0200
committerAleksey Lysenko <lysenkoalexmail@gmail.com>2017-01-04 13:08:28 +0000
commit2eeee81b67ce4fc81793c51bafd2cc1b33076c05 (patch)
tree00322a9d3afa9bb77322124c89927598a0cb1e42 /src/websockets/qwebsockethandshakerequest.cpp
parent9ae40f96a47259315e06ba9dfa253ecd95c790f1 (diff)
downloadqtwebsockets-2eeee81b67ce4fc81793c51bafd2cc1b33076c05.tar.gz
Fixed possible block clearing in QWebSocketDataProcessor::process method
In QWebSocketDataProcessor::process() the signals text(binary)MessageReceived are emitted before clear() method. If signal handler blocks loop (for example, using QDialog::exec()), clear() will be called only after resuming loop. It may lead to the data corruption due to the fact that QWebSocketDataProcessor clearing won't be performed before the new data arrived. Task-number: QTBUG-55506 Change-Id: Ib7016a91d3987dec7c1af977b17f86a53568c413 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/websockets/qwebsockethandshakerequest.cpp')
0 files changed, 0 insertions, 0 deletions