mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
vpn.h: increased AUTH_SLACK_TIME to 15 secs and documented its use
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2013 Nikos Mavrogiannopoulos
|
||||
* Copyright (C) 2013-2017 Nikos Mavrogiannopoulos
|
||||
*
|
||||
* Author: Nikos Mavrogiannopoulos
|
||||
*
|
||||
@@ -145,9 +145,11 @@ extern int syslog_open;
|
||||
#include "defs.h"
|
||||
|
||||
/* Allow few seconds prior to cleaning up entries, to avoid any race
|
||||
* conditions when session control is enabled.
|
||||
* conditions when session control is enabled, as well as to allow
|
||||
* anyconnect clients to reconnect (they often drop the connection and
|
||||
* to to re-establish using the same cookie).
|
||||
*/
|
||||
#define AUTH_SLACK_TIME 10
|
||||
#define AUTH_SLACK_TIME 15
|
||||
|
||||
|
||||
#define MAX_CIPHERSUITE_NAME 64
|
||||
|
||||
Reference in New Issue
Block a user