qt5base-lts/tests/auto/network
Alex Trotsenko 0872156559 QAbstractSocket: fix writing to socket in HostLookup state
After calling connectToHost(), the socket enters HostLookup state. At this
stage, the socket engine was not created yet, and writing to the socket
should result in either data buffering or an error. So, add a check for
d->socketEngine to prevent a crash on unbuffered sockets.

Task-number: QTBUG-48356
Change-Id: I15ea9ce7de97ce6d7e13e358eca5350745b556bb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2015-10-13 05:20:08 +00:00
..
access Make sure networkAccessibilityChanged is emitted 2015-09-26 19:14:03 +00:00
bearer Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
kernel fix usage of wince scope 2015-06-05 10:29:10 +00:00
socket QAbstractSocket: fix writing to socket in HostLookup state 2015-10-13 05:20:08 +00:00
ssl ssl: add test certificates with DSA and EC keys 2015-07-30 11:31:40 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00