Add Happy-Eyeballs style IPv6 connection establishing.
authorMartin Petersson <martin.petersson@nokia.com>
Fri, 1 Jul 2011 11:26:47 +0000 (13:26 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 4 Jul 2011 11:04:57 +0000 (13:04 +0200)
commit3d5d8b6c4ff08806934a07df77f9387edc4243df
tree807be5598fb2ada919d16aa8b411b77c688afce0
parent640c5d8a992f4ac6f9068aea9ec51a99a40dfc16
Add Happy-Eyeballs style IPv6 connection establishing.

In the cases where a DNS lookup will give you both an IPv4 and IPv6
address, this will start two connection channels at the same time.
One trying to connect using IPv4 and one on IPv6. This is done so
that we can use the fastest one for the connection. To do this we
have to do the hostlookup in the connection. The result is then
in the cache for the individual socket so it will not need to do
another lookup.

Task-number: QTBUG-16458
Change-Id: I806c20168d9c5edc2831b80f82a2bd570b36d5fa
Reviewed-on: http://codereview.qt.nokia.com/1003
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qhttpnetworkconnection.cpp
src/network/access/qhttpnetworkconnection_p.h
src/network/access/qhttpnetworkconnectionchannel.cpp
src/network/access/qhttpnetworkconnectionchannel_p.h
src/network/socket/qabstractsocket.cpp
src/network/socket/qabstractsocket.h
src/network/socket/qabstractsocket_p.h
src/network/ssl/qsslsocket.cpp
src/network/ssl/qsslsocket.h