From c0df6334289a9291e9b43aa5ea0171d80aa1f9e0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 28 May 2009 02:17:19 +0100 Subject: Add log message when DNS lookup is cancelled --- net/adns.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net') diff --git a/net/adns.lua b/net/adns.lua index 45fe74f0..e219ffa7 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -26,6 +26,7 @@ function lookup(handler, qname, qtype, qclass) end function cancel(handle, call_handler) + log("warn", "Cancelling DNS lookup for %s", tostring(handle[3])); dns.cancel(handle); if call_handler then coroutine.resume(handle[4]); -- cgit v1.2.3