Working on TODOs in proxy.c

This commit is contained in:
2023-01-05 21:59:23 +01:00
parent 3d1451448d
commit 4782707049
2 changed files with 37 additions and 4 deletions

View File

@@ -282,7 +282,12 @@ int main(int argc, char *const argv[]) {
return 1;
}
proxy_preload();
if (proxy_preload() != 0) {
critical("Unable to initialize proxy");
geoip_free();
async_free();
return 1;
}
for (int i = 0; i < NUM_SOCKETS; i++) {
if (listen(sockets[i], LISTEN_BACKLOG) < 0) {