qt5base-lts/tests/auto/network/socket
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
..
platformsocketengine Allow to set TCP network listen(2) backlog 2021-07-19 17:05:53 -03:00
qabstractsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhttpsocketengine CMake: Remove the usage of QT_SOURCE_TREE from tests 2021-07-12 18:56:14 +02:00
qlocalsocket QLocalSocket/Win: fix waitFor...() functions for write-only socket 2021-09-02 08:47:11 +03:00
qsctpsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsocks5socketengine Allow to set TCP network listen(2) backlog 2021-07-19 17:05:53 -03:00
qtcpserver Blacklist tst_QTcpServer::linkLocal on macOS ARM 2021-05-26 21:24:40 +02:00
qtcpsocket Blacklist problematic network auto-tests on macOS ARM 2021-05-26 12:49:56 +02:00
qudpsocket tests: fix deprecated implicit capture of this via [=] 2021-06-30 23:13:28 +02:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00