From fe46f3c228ae993b59fbf5eca423c3171d90e1b3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 7 Jan 2007 22:01:00 +0000 Subject: Document dns caching, add a "bool cached" to OnLookupComplete method in Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_http_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_http_client.cpp') diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 6891aa972..d015661c0 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -60,7 +60,7 @@ class HTTPResolver : public Resolver { } - void OnLookupComplete(const string &result, unsigned int ttl) + void OnLookupComplete(const string &result, unsigned int ttl, bool cached) { socket->Connect(result); } -- cgit v1.3.1-10-gc9f91