Software /
code /
prosody
Diff
net/dns.lua @ 5568:c463558bed45
Merge 0.9->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 May 2013 10:46:27 +0100 |
parent | 5566:74ae3e7e8779 |
child | 5705:6eebd5808fbc |
child | 5730:411e9e7d8035 |
line wrap: on
line diff
--- a/net/dns.lua Wed May 01 13:57:11 2013 +0100 +++ b/net/dns.lua Fri May 10 10:46:27 2013 +0100 @@ -1072,6 +1072,10 @@ return _resolver:settimeout(...); end +function dns.cache() + return _resolver.cache; +end + function dns.socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set return _resolver:socket_wrapper_set(...); end