From d198326ef6ec3031afbe7ee47b727cc52fc1198a Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 12 Jul 2020 00:25:22 +0200 Subject: Move sprop_parse to shared lib --- minecproxy/main.c | 2 +- minecproxy/server-config.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'minecproxy') diff --git a/minecproxy/main.c b/minecproxy/main.c index d8f33d0..0406976 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -669,7 +669,7 @@ int main(int argc, char **argv) cfg_read(); /* - * In the splice case we use 4 fds per proxy connection... + * In the splice case we use 6 fds per proxy connection... */ if (prlimit(0, RLIMIT_NOFILE, NULL, &old_rlimit) == 0) { struct rlimit new_rlimit; diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c index 575661a..7009952 100644 --- a/minecproxy/server-config.c +++ b/minecproxy/server-config.c @@ -55,6 +55,8 @@ static void server_cfg_read_cb(struct uring_task *task, int res) return; } + /* FIXME: open/read/parse server.properties */ + if (!list_empty(&server->scfg.dnslookups)) { uring_task_get(&server->task); scfg_async_dns_start(&server->scfg); -- cgit v1.2.3