qt5base-lts/tests/auto/network
Ulf Hermann 0df5d07929 Don't let closed http sockets pass as valid connections
A QAbstractSocket can be close()'d at any time, independently of its
current connection state. being closed means that we cannot use it to
read or write data, but internally it might still have some data to
send or receive, for example to an http server. We can even get a
connected() signal after close()'ing the socket.

We need to catch this condition and mark any pending data not yet
written to the socket for resending.

Task-number: QTBUG-48326
Change-Id: I6f61c35f2c567f2a138f8cfe9ade7fd1ec039be6
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-10-13 16:40:56 +00:00
..
access Don't let closed http sockets pass as valid connections 2015-10-13 16:40:56 +00:00
bearer tests/auto/network: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 04:29:33 +00:00
kernel Autotest: Make tst_QNetworkInterface::interfaceFromXXX data-driven 2015-09-13 18:54:10 +00:00
socket Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
ssl Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev 2015-08-09 07:06:52 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00