summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qdockwidget.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2016-10-10 14:35:19 +0200
committerOliver Wolff <oliver.wolff@qt.io>2016-10-14 05:53:06 +0000
commitdcf7da7c93c0d974bfb72ffa677a1d26fb9be5e0 (patch)
treeed0929a1f9418e6aeb16879314bac51baa19c1d5 /src/widgets/widgets/qdockwidget.cpp
parentd8c72f41548a01bf39f82e77da01a2be57a06d95 (diff)
winrt: Do not lose initial data for TCP connections
When a client connects and sends data immediately it was possible that initial data was lost as the state was set too late. If the callback was called before the state was set the socket engine just discarded the data. So the state has to be set before the callback is registered. The new implementation needs a list of pending read operations. It can happen that the "readyRead" callback is triggered directly while "put_Completed" is called. The callback reassigns readOp which causes a "function not implemented" exception when it jumps back to the "put_Completed" call in "initialize" Task-number: QTBUG-55889 Change-Id: I5f52e3377b6176f1f90f227ac0bf52b60ee2d95a Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/widgets/widgets/qdockwidget.cpp')
0 files changed, 0 insertions, 0 deletions