qt5base-lts/tests/auto/network
Timur Pocheptsov 86632bd377 QSslSocketBackendPrivate - avoid recursion while handing errors
The logic seems to be simple - if client code on error signal
tries to close TLS socket and this socket has buffered data,
it calls 'flush' and 'transmit' or even 'startHandshake' as
a result, which in turn will set and emit error again. To auto-
test this, we initiate a handshake with pre-shared key hint
on a server side and both client/server sockets incorrectly
configured (missing PSK signals). We also do early write
into the client socket to make sure it has some data
buffered by the moment we call 'close'.

Task-number: QTBUG-68089
Task-number: QTBUG-56476
Change-Id: I6ba6435bd572ad85d9209c4c81774a397081b34f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-07-12 09:16:25 +00:00
..
access Merge remote-tracking branch 'origin/5.11' into dev 2018-07-02 11:23:45 +02:00
bearer Make tests compile for Android 2018-06-25 08:01:19 +00:00
kernel Narrow tst_QDnsLookup::lookup blacklist to only CI 2018-04-04 05:05:51 +00:00
socket tests/auto/network: Avoid unconditional qWait()s 2018-05-08 12:35:40 +00:00
ssl QSslSocketBackendPrivate - avoid recursion while handing errors 2018-07-12 09:16:25 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00