Revision 690cf426f3a8c18d903e61228f65fa3b9e2a69d3 authored by Allan Sandfeld Jensen on 17 October 2013, 17:24:28 UTC, committed by The Qt Project on 21 October 2013, 15:35:00 UTC
Since commit f30641a7 is has been possible to issue more than one host
lookup request per HttpNetworkConnection. If the result was both an
IPv4 and IPv6 address, and we get a second similar DNS reply, we
end up triggering the assert in startNetworkLayerStateLookup().

This patch splits the InProgress state to HostLookupPending and the state
of trying both IPv4 and IPv6. This makes it possible to ignore any new DNS
replies received after the first succesfull one.

Change-Id: I0b8d6b1582fdaed69dde5926019b60bb0cbd580d
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
1 parent 13035f7
History
File Mode Size
bin
config.tests
dist
doc
examples
lib
mkspecs
qmake
src
tests
tools
util
.gitattributes -rw-r--r-- 151 bytes
.gitignore -rw-r--r-- 7.2 KB
.qmake.conf -rw-r--r-- 207 bytes
.tag -rw-r--r-- 12 bytes
INSTALL -rw-r--r-- 574 bytes
LGPL_EXCEPTION.txt -rw-r--r-- 1.2 KB
LICENSE.FDL -rw-r--r-- 22.4 KB
LICENSE.GPL -rw-r--r-- 34.3 KB
LICENSE.LGPL -rw-r--r-- 26.2 KB
LICENSE.PREVIEW.COMMERCIAL -rw-r--r-- 30.8 KB
configure -rwxr-xr-x 231.0 KB
configure.bat -rw-r--r-- 3.7 KB
header.BSD -rw-r--r-- 2.0 KB
header.FDL -rw-r--r-- 1.2 KB
header.LGPL -rw-r--r-- 1.9 KB
header.LGPL-ONLY -rw-r--r-- 958 bytes
qtbase.pro -rw-r--r-- 4.4 KB
sync.profile -rw-r--r-- 3.0 KB

back to top