qt5base-lts/tests/auto/network/socket
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
..
platformsocketengine fix usage of wince scope 2015-06-05 10:29:10 +00:00
qabstractsocket Update copyright headers 2015-02-11 06:49:51 +00:00
qhttpsocketengine Update copyright headers 2015-02-11 06:49:51 +00:00
qlocalsocket Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qsocks5socketengine Remove the tests for Ubuntu Oneiric (11.10) 2015-03-17 01:26:13 +00:00
qtcpserver fix usage of wince scope 2015-06-05 10:29:10 +00:00
qtcpsocket fix usage of wince scope 2015-06-05 10:29:10 +00:00
qudpsocket QAbstractSocket: fix writing to socket in HostLookup state 2015-10-13 05:20:08 +00:00
socket.pro WinRT: Fixed compilation of network autotests and benchmarks 2013-12-06 15:06:47 +01:00