diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-10-10 14:35:19 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2016-10-14 05:53:06 +0000 |
commit | dcf7da7c93c0d974bfb72ffa677a1d26fb9be5e0 (patch) | |
tree | ed0929a1f9418e6aeb16879314bac51baa19c1d5 /tests/auto/gui/image | |
parent | d8c72f41548a01bf39f82e77da01a2be57a06d95 (diff) | |
download | qtbase-dcf7da7c93c0d974bfb72ffa677a1d26fb9be5e0.tar.gz |
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 'tests/auto/gui/image')
0 files changed, 0 insertions, 0 deletions