summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPLv3
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-05-30 14:39:50 +0200
committerOliver Wolff <oliver.wolff@qt.io>2017-06-02 12:30:25 +0000
commit91ef71b7bf3526a0bb7f6f83e6b3e03e286c2030 (patch)
treeb4d9e75b6992da250315a8466a3fa3c9a8ef24d6 /LICENSE.LGPLv3
parent8c620d24bb220fd3db32a75023b892b26fad32f3 (diff)
winrt: Get rid of one deferral when handling socket data
Instead of defering one more time by emitting the signal, we can add the data to the list of available data/pending datagrams. For TCP readNotification can be invoked directly so that emission of the readyRead signal is tightly coupled to the availability of new data. For UDP sockets calling readNotification directly stops handling of more data and thus cannot be done. With the old approach it was possible, that the last bit of TCP data was lost, because the socket was closed while the data was still being processed/transferred from the worker to the engine. Task-number: QTBUG-61078 Change-Id: I9330b87876be853d310dc9e8e817ab344939d5dd Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions