mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
do not restrict worker's memory
This commit is contained in:
@@ -399,6 +399,7 @@ static void drop_privileges(main_server_st* s)
|
||||
strerror(e));
|
||||
}
|
||||
|
||||
#if 0
|
||||
#define MAX_WORKER_MEM (4*1024*1024)
|
||||
if (s->config->debug == 0) {
|
||||
rl.rlim_cur = MAX_WORKER_MEM;
|
||||
@@ -410,6 +411,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