diff options
Diffstat (limited to 'minecproxy')
-rw-r--r-- | minecproxy/main.c | 2 | ||||
-rw-r--r-- | minecproxy/server-config.c | 2 |
2 files changed, 3 insertions, 1 deletions
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); |