Comparison

net/resolvers/basic.lua @ 10970:4603697aee50

net.resolvers: Remove FIXMEs obsoleted by switch to libunbound
author Kim Alvefur <zash@zash.se>
date Thu, 25 Jun 2020 19:24:58 +0200
parent 10945:2edb72ef312a
child 11008:fd735fe2fc50
comparison
equal deleted inserted replaced
10969:d70db967c1b7 10970:4603697aee50
6 6
7 local methods = {}; 7 local methods = {};
8 local resolver_mt = { __index = methods }; 8 local resolver_mt = { __index = methods };
9 9
10 -- FIXME RFC 6724 10 -- FIXME RFC 6724
11 -- FIXME #1428 Reuse DNS resolver object (from service resolver)
12 -- FIXME #1429 Close DNS resolver object when done
13 11
14 -- Find the next target to connect to, and 12 -- Find the next target to connect to, and
15 -- pass it to cb() 13 -- pass it to cb()
16 function methods:next(cb) 14 function methods:next(cb)
17 if self.targets then 15 if self.targets then