summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkconnection_p.h
diff options
context:
space:
mode:
authorMartin Petersson <Martin.Petersson@nokia.com>2012-06-06 13:47:54 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-06 15:29:34 +0200
commitc5b742a5f69c0ef85bc0d56f1178692788eb5305 (patch)
tree0e43d0bb0804ea14de792b78e37794d4ec615dc9 /src/network/access/qhttpnetworkconnection_p.h
parentb002c7a8c06750e58e6d88f6a6052055eddcc9ed (diff)
QtNetwork: disconnect other channels when network layer detected
With Happy Eyeballs we will connect one IPv4 and one IPv6 channel and pick the network layer depending on which connects first. When the first channel is connected we can close the other one. Before this we let the other connection finish connecting and then closed it. This will close the other one as soon as the first one is connected. Change-Id: Ib2ab3f949704fd39dc0584bd31b9bcaf75ce35f7 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/network/access/qhttpnetworkconnection_p.h')
-rw-r--r--src/network/access/qhttpnetworkconnection_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkconnection_p.h b/src/network/access/qhttpnetworkconnection_p.h
index 1b9c703262..74bf25ae32 100644
--- a/src/network/access/qhttpnetworkconnection_p.h
+++ b/src/network/access/qhttpnetworkconnection_p.h
@@ -193,6 +193,7 @@ public:
void startHostInfoLookup();
void startNetworkLayerStateLookup();
+ void networkLayerDetected(QAbstractSocket::NetworkLayerProtocol protocol);
// private slots
void _q_startNextRequest(); // send the next request from the queue