qt6-bb10/tests/auto/network/socket
Alex Trotsenko cddb344f3e QSslSocket: reset connection parameters on disconnect
Otherwise socketDescriptor(), localPort(), localAddress(), peerPort(),
peerAddress(), and peerName() remain uncleared until close() is called.

This could take place when the connection is closed by the remote
endpoint or the user calls disconnectFromHost(). After disconnecting,
connection parameters are no longer valid, while I/O device is still
opened and may have pending data for reading. Usually, the user reads
all incoming data and closes the device independently.

Change-Id: Ic898851c39137faf64019949910f0d94ebb79df7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2016-07-05 19:21:06 +00:00
..
platformsocketengine Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qabstractsocket Updated license headers 2016-01-21 18:55:18 +00:00
qhttpsocketengine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
qlocalsocket Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
qsocks5socketengine Updated license headers 2016-01-21 18:55:18 +00:00
qtcpserver Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-27 09:18:05 +02:00
qtcpsocket QSslSocket: reset connection parameters on disconnect 2016-07-05 19:21:06 +00:00
qudpsocket Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-20 08:00:26 +02:00
socket.pro WinRT: Fixed compilation of network autotests and benchmarks 2013-12-06 15:06:47 +01:00