projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d397f
)
net.dns: Unconditionally cache records found in answers
author
Matthew Wild
<mwild1@gmail.com>
Mon, 25 May 2015 22:16:11 +0000
(23:16 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 25 May 2015 22:16:11 +0000
(23:16 +0100)
net/dns.lua
patch
|
blob
|
history
diff --git
a/net/dns.lua
b/net/dns.lua
index 763ee9ec644a6b230f78b325fa2768874f4e6e5b..7ec13c818be0315803735022c1bfabb83ebeedd5 100644
(file)
--- a/
net/dns.lua
+++ b/
net/dns.lua
@@
-855,9
+855,7
@@
function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive
--self.print(response);
for j,rr in pairs(response.answer) do
- if rr.name:sub(-#response.question[1].name, -1) == response.question[1].name then
- self:remember(rr, response.question[1].type)
- end
+ self:remember(rr, response.question[1].type)
end
-- retire the query