diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-28 02:17:19 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-28 02:17:19 +0100 |
commit | c0df6334289a9291e9b43aa5ea0171d80aa1f9e0 (patch) | |
tree | 05e9e787fb7e65bfc0e9b0d9f39485afc01ba7cd /net | |
parent | a5333a75d9a52ff77aee2a93f45c3a17c4469407 (diff) | |
download | prosody-c0df6334289a9291e9b43aa5ea0171d80aa1f9e0.tar.gz prosody-c0df6334289a9291e9b43aa5ea0171d80aa1f9e0.zip |
Add log message when DNS lookup is cancelled
Diffstat (limited to 'net')
-rw-r--r-- | net/adns.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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]); |