qt5base-lts/tests/auto/network
Alex Trotsenko 5d68858ba7 QLocalSocket/Win: fix waitFor...() functions for write-only socket
There were several issues with the socket state checking when the pipe
reader is not running:

  - the number of object handles in the WaitForMultipleObjectsEx()
    call might have been zero;
  - a call to the waitForDisconnected(-1) might have hung;
  - we did not perform a loop iteration for the waitFor...(0) calls,
    so disconnect detection was unreliable.

These issues are related to the same code, so they don't seem to be
addressable separately.

Change-Id: I3bca872bb4191e6a7d38a693d81f7981af7fe145
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2021-09-02 08:47:11 +03:00
..
access tst_QNetworkReply: Remove and suppress one debug message 2021-09-01 18:03:15 +02:00
kernel tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
selftest Remove the qmake project files 2021-01-07 15:32:28 +01:00
socket QLocalSocket/Win: fix waitFor...() functions for write-only socket 2021-09-02 08:47:11 +03:00
ssl tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00