summaryrefslogtreecommitdiff
path: root/minecproxy
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-12 00:25:22 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-12 00:25:22 +0200
commitd198326ef6ec3031afbe7ee47b727cc52fc1198a (patch)
treed6d2ec7bfeb9066d78dcb12f7b5d37890b77d32a /minecproxy
parentb56b003fc13a4e12f97c6cfd5dd650e928d6e016 (diff)
Move sprop_parse to shared lib
Diffstat (limited to 'minecproxy')
-rw-r--r--minecproxy/main.c2
-rw-r--r--minecproxy/server-config.c2
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);