# HG changeset patch # User Matthew Wild # Date 1243473439 -3600 # Node ID 5f992ddc968508c6332c4dc0b25903509ec9c2ca # Parent 6842bacddfcb84189cf9f5bf7d522e288cfe9275 Add log message when DNS lookup is cancelled diff -r 6842bacddfcb -r 5f992ddc9685 net/adns.lua --- a/net/adns.lua Thu May 28 02:16:43 2009 +0100 +++ b/net/adns.lua Thu May 28 02:17:19 2009 +0100 @@ -26,6 +26,7 @@ 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]);