qt5base-lts/tests/auto/network
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
..
access HTTP/2 - reset uploadByteDevice if necessary 2018-04-12 14:02:20 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Narrow tst_QDnsLookup::lookup blacklist to only CI 2018-04-04 05:05:51 +00:00
socket QWindowsPipeReader: fix waiting on inactive pipe 2018-04-12 18:08:29 +00:00
ssl QSslSocket (OpenSSL 1.1) - respect requested protocol version 2018-04-11 12:10:01 +00:00
network.pro