Comparison

net/connect.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 10452:fa11070c2cd7
child 10485:913276ba0c47
comparison
equal deleted inserted replaced
10483:c12a24f0a385 10484:b13a31cea7d9
1 local server = require "net.server"; 1 local server = require "net.server";
2 local log = require "util.logger".init("net.connect"); 2 local log = require "util.logger".init("net.connect");
3 local new_id = require "util.id".short; 3 local new_id = require "util.id".short;
4 4
5 -- TODO Respect use_ipv4, use_ipv6 5 -- TODO Respect use_ipv4, use_ipv6
6 -- TODO #1246 Happy Eyeballs
6 -- FIXME Error propagation from resolvers doesn't work 7 -- FIXME Error propagation from resolvers doesn't work
7 -- TODO Try to share DNS resolver object and close it afterwards 8 -- FIXME #1428 Reuse DNS resolver object between service and basic resolver
9 -- FIXME #1429 Close DNS resolver object when done
8 10
9 local pending_connection_methods = {}; 11 local pending_connection_methods = {};
10 local pending_connection_mt = { 12 local pending_connection_mt = {
11 __name = "pending_connection"; 13 __name = "pending_connection";
12 __index = pending_connection_methods; 14 __index = pending_connection_methods;