qt6-bb10/tests/auto/network/access
Ulf Hermann 7aba75ffc5 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.

(cherry picked from commit 0df5d07929)
Task-number: QTBUG-48326
Change-Id: I67d9ad36f7288c9c6bef51aa6253d7b187737601
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com>
2015-11-05 08:40:57 +00:00
..
qabstractnetworkcache Update copyright headers 2015-02-11 06:49:51 +00:00
qftp fix usage of wince scope 2015-06-05 10:29:10 +00:00
qhttpnetworkconnection Don't let closed http sockets pass as valid connections 2015-11-05 08:40:57 +00:00
qhttpnetworkreply Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkaccessmanager Make sure networkAccessibilityChanged is emitted 2015-09-26 19:14:03 +00:00
qnetworkcachemetadata Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkcookie Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkcookiejar QUrl effective TLDs: update table 2015-02-13 07:28:17 +00:00
qnetworkdiskcache Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-04 13:44:29 +01:00
qnetworkreply Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5 2015-08-12 09:53:52 +00:00
qnetworkrequest Update copyright headers 2015-02-11 06:49:51 +00:00
spdy Update copyright headers 2015-02-11 06:49:51 +00:00
access.pro network: add support for the SPDY protocol 2014-02-19 21:44:15 +01:00