Software /
code /
prosody
Diff
net/dns.lua @ 3328:5ac4fbbfb74d
net.dns: Add dns.settimeout() to set the timeout for the default resolver
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Jul 2010 12:13:55 +0100 |
parent | 3327:b447682f2a8d |
child | 3360:6c07b64e972c |
line wrap: on
line diff
--- a/net/dns.lua Mon Jul 05 12:09:50 2010 +0100 +++ b/net/dns.lua Mon Jul 05 12:13:55 2010 +0100 @@ -993,6 +993,10 @@ return _resolver:cancel(...); end +function dns.settimeout(...) + return _resolver:settimeout(...); +end + function dns.socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set return _resolver:socket_wrapper_set(...); end