qt5base-lts/tests
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
..
auto QSslSocket: reset connection parameters on disconnect 2016-07-05 19:21:06 +00:00
baselineserver Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
benchmarks Replace qAllocMore with a pair of more useful functions 2016-06-09 15:32:14 +00:00
global
manual Diaglib: Build DebugProxyStyle only when QtWidgets are used 2016-07-01 09:25:42 +00:00
shared Updated license headers 2016-01-21 18:55:18 +00:00
README
tests.pro

This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.