Software /
code /
prosody
Diff
net/resolvers/basic.lua @ 10484:b13a31cea7d9
net.connect: Add some TODOs and FIXMEs
And mention issue numbers: #1246, #1428 and #1429
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Dec 2019 17:05:00 +0100 |
parent | 10441:f2c9abc71f08 |
child | 10485:913276ba0c47 |
line wrap: on
line diff
--- a/net/resolvers/basic.lua Wed Dec 04 22:37:20 2019 +0100 +++ b/net/resolvers/basic.lua Sat Dec 07 17:05:00 2019 +0100 @@ -7,6 +7,10 @@ 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)