qt6-bb10/tests/auto/network/socket/qlocalsocket
Alex Trotsenko 53b4556332 QLocalSocket/Win: prevent writing to broken pipe
When a peer closes the connection, the device remains opened for reading
purposes. However, we should disable writing on disconnected socket.
Otherwise, if the user issues a write() call, a new pipe writer object
will be created and the write call occurs with invalid handle value.

Pick-to: 5.15
Change-Id: Id136798c7663df1fce7ed0aa4e3c6f5c65218a11
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2020-10-15 22:56:35 +03:00
..
socketprocess CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
test CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.gitignore
CMakeLists.txt cmake: Enable network test 2019-07-29 13:14:55 +00:00
qlocalsocket.pro
tst_qlocalsocket.cpp QLocalSocket/Win: prevent writing to broken pipe 2020-10-15 22:56:35 +03:00