qt5base-lts/tests/auto/network
Alex Trotsenko d9c0af92bd QLocalSocket/Unix: fix aborting the socket
According to the documentation, calling abort() should immediately
reset the socket to its initial state. This includes:

  - closing the file descriptor;
  - closing the QLocalSocket as an I/O device;
  - canceling a pending outgoing connection, if it exist;
  - reseting 'serverName' string.

So, adding a call to close() resets the state entirely.

Pick-to: 6.1 6.2
Change-Id: I9c604b5187c6300b437d7aa4c2d06db03edacf21
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2021-07-24 11:52:30 +03:00
..
access QNetworkReply: Add two new signals 2021-07-20 22:08:39 +02:00
kernel tests: fix deprecated implicit capture of this via [=] 2021-06-30 23:13:28 +02:00
selftest Remove the qmake project files 2021-01-07 15:32:28 +01:00
socket QLocalSocket/Unix: fix aborting the socket 2021-07-24 11:52:30 +03:00
ssl tst_QSslSocket: fix and clean up allowedProtocolNegotiation 2021-07-20 21:17:50 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00