mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
disabled limits that break the worker
This commit is contained in:
@@ -402,6 +402,7 @@ static void drop_privileges(main_server_st* s)
|
||||
strerror(e));
|
||||
}
|
||||
|
||||
#if 0
|
||||
rl.rlim_cur = 0;
|
||||
rl.rlim_max = 0;
|
||||
ret = setrlimit(RLIMIT_FSIZE, &rl);
|
||||
@@ -422,6 +423,7 @@ static void drop_privileges(main_server_st* s)
|
||||
strerror(e));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/* clears the server llist and clist. To be used after fork().
|
||||
|
||||
Reference in New Issue
Block a user