qt5base-lts/tests/auto/network/socket
Alex Trotsenko e8733ffc51 QWindowsPipeReader: fix waiting on inactive pipe
To read data from a named pipe, QWindowsPipeReader uses the ReadFileEx()
function which runs asynchronously. When reading is completed and the
thread is in an alertable wait state, the notified() callback is called
by the system, reporting a completion status of that operation. Then the
callback queues a readyRead signal and starts a new sequence. The latter
is skipped if the pipe is broken or the read buffer is full.

Thus, if an application does not run the event loop, the next call to
QWindowsPipeReader::waitForReadyRead() should emit the queued signal
and report true to the caller even if no new read operation was started.

Change-Id: I37102dbb1c00191d93365bfc2e94e743d9f3962a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-04-12 18:08:29 +00:00
..
platformsocketengine QNativeSocketEngine: disable unused methods about OS socket buffer 2017-09-01 16:40:36 +00:00
qabstractsocket Updated license headers 2016-01-21 18:55:18 +00:00
qhttpsocketengine Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qlocalsocket QWindowsPipeReader: fix waiting on inactive pipe 2018-04-12 18:08:29 +00:00
qsctpsocket Network: Use canonical license headers 2017-02-28 15:34:01 +00:00
qsocks5socketengine tst_QSocks5SocketEngine::downloadBigFile(): Output elapsed time 2017-06-28 17:54:07 +00:00
qtcpserver Fix tst_QTcpServer::maxPendingConnections flakiness 2018-02-09 18:45:25 +00:00
qtcpsocket Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qudpsocket Widen the blacklists for flaky udp tests 2018-02-27 11:44:17 +00:00
socket.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00