qt5base-lts/tests/auto/network
Fredrik de Vibe 48f25caac4 Check if socketEngine is set before accessing it.
QTcpServer::addPendingConnection() is protected, so it is possible to
add pending connections from a class derived from QTcpServer. This
derived class can get a QTcpSocket from somewhere else, in which case
d->socketEngine will not be set (or used). Given that it is possible to
add pending connections in this scenario, it would make sense to be able
to retrieve them as well.

[ChangeLog][QtNetwork][QTcpServer] Permit using a QTcpServer with
externally created QTcpSocket.

Task-number: QTBUG-51288
Change-Id: I830c10f1a881e2bca4e4ad716d8be865e1c27a9f
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
2016-03-04 08:11:54 +00:00
..
access qabstractnetworkcache - enable several tests 2016-01-26 13:12:03 +00:00
bearer Updated license headers 2016-01-21 18:55:18 +00:00
kernel Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
socket Check if socketEngine is set before accessing it. 2016-03-04 08:11:54 +00:00
ssl Updated license headers 2016-01-21 18:55:18 +00:00
network.pro