summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_p.h
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-04-01 10:08:39 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-04-05 10:24:43 (GMT)
commita04905c2bb5caac9c9c0a3d0928f6fdfb4600cb9 (patch)
treeb79332f1b0f3c7a56bcfe61fceb67c12a7627bf0 /src/network/kernel/qhostinfo_p.h
parent1d8f8bc70e4f056e4e110a779d483c186fc2ad19 (diff)
downloadQt-a04905c2bb5caac9c9c0a3d0928f6fdfb4600cb9.zip
Qt-a04905c2bb5caac9c9c0a3d0928f6fdfb4600cb9.tar.gz
Qt-a04905c2bb5caac9c9c0a3d0928f6fdfb4600cb9.tar.bz2
Implement cache support for the async resolver
Add additional check when starting a queued request, as the cache may have been populated while the request was queued. Put completed requests in the cache (note cache code internally discards errored results and only caches successful results) Reviewed-by: Aaron Tunney Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/kernel/qhostinfo_p.h')
-rw-r--r--src/network/kernel/qhostinfo_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo_p.h b/src/network/kernel/qhostinfo_p.h
index ab3e809..ceec04d 100644
--- a/src/network/kernel/qhostinfo_p.h
+++ b/src/network/kernel/qhostinfo_p.h
@@ -274,7 +274,7 @@ private:
EIdle,
EGetByName,
EGetByAddress,
- EGetMoreNames,
+ ECompleteFromCache,
EError
} iState;
};