mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
enforce maximum number of same clients
This commit is contained in:
@@ -165,6 +165,7 @@ unsigned j;
|
||||
READ_NUMERIC("cookie-validity", config->cookie_validity, 1);
|
||||
READ_NUMERIC("auth-timeout", config->auth_timeout, 0);
|
||||
READ_NUMERIC("max-clients", config->max_clients, 0);
|
||||
READ_NUMERIC("max-same-clients", config->max_same_clients, 0);
|
||||
|
||||
val = optionGetValue(pov, "run-as-user"); \
|
||||
if (val != NULL && val->valType == OPARG_TYPE_STRING) {
|
||||
|
||||
Reference in New Issue
Block a user