aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/basic.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-07 17:05:00 +0100
committerKim Alvefur <zash@zash.se>2019-12-07 17:05:00 +0100
commit40ffc88bad91782bf8564994826b528609004751 (patch)
tree661936621e69aff3b5fcc127d81e09c71b616bcc /net/resolvers/basic.lua
parent2d5eaff749da055df6a29f20a169759f0bc96479 (diff)
downloadprosody-40ffc88bad91782bf8564994826b528609004751.tar.gz
prosody-40ffc88bad91782bf8564994826b528609004751.zip
net.connect: Add some TODOs and FIXMEs
And mention issue numbers: #1246, #1428 and #1429
Diffstat (limited to 'net/resolvers/basic.lua')
-rw-r--r--net/resolvers/basic.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index c1931dab..ef69e6dc 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -7,6 +7,10 @@ local unpack = table.unpack or unpack; -- luacheck: ignore 113
local methods = {};
local resolver_mt = { __index = methods };
+-- TODO Respect use_ipv4, use_ipv6
+-- FIXME #1428 Reuse DNS resolver object (from service resolver)
+-- FIXME #1429 Close DNS resolver object when done
+
-- Find the next target to connect to, and
-- pass it to cb()
function methods:next(cb)