Comparison

net/connect.lua @ 10452:fa11070c2cd7

net.connect: Add some TODO comments
author Kim Alvefur <zash@zash.se>
date Tue, 26 Nov 2019 00:12:51 +0100
parent 10112:b327f2870382
child 10484:b13a31cea7d9
comparison
equal deleted inserted replaced
10451:347d16d70280 10452:fa11070c2cd7
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
5 -- TODO Respect use_ipv4, use_ipv6
6 -- FIXME Error propagation from resolvers doesn't work
7 -- TODO Try to share DNS resolver object and close it afterwards
4 8
5 local pending_connection_methods = {}; 9 local pending_connection_methods = {};
6 local pending_connection_mt = { 10 local pending_connection_mt = {
7 __name = "pending_connection"; 11 __name = "pending_connection";
8 __index = pending_connection_methods; 12 __index = pending_connection_methods;