Comparison

net/resolvers/basic.lua @ 10485:913276ba0c47

net.connect: Mention RFC 6724 regression Default Address Selection algorithm is not applied, resulting in a strong bias towards IPv4.
author Kim Alvefur <zash@zash.se>
date Sat, 07 Dec 2019 17:39:29 +0100
parent 10484:b13a31cea7d9
child 10621:e5ab31845094
comparison
equal deleted inserted replaced
10484:b13a31cea7d9 10485:913276ba0c47
6 6
7 local methods = {}; 7 local methods = {};
8 local resolver_mt = { __index = methods }; 8 local resolver_mt = { __index = methods };
9 9
10 -- TODO Respect use_ipv4, use_ipv6 10 -- TODO Respect use_ipv4, use_ipv6
11 -- FIXME RFC 6724
11 -- FIXME #1428 Reuse DNS resolver object (from service resolver) 12 -- FIXME #1428 Reuse DNS resolver object (from service resolver)
12 -- FIXME #1429 Close DNS resolver object when done 13 -- FIXME #1429 Close DNS resolver object when done
13 14
14 -- Find the next target to connect to, and 15 -- Find the next target to connect to, and
15 -- pass it to cb() 16 -- pass it to cb()