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:
Nikos Mavrogiannopoulos
2017-12-17 17:44:40 +01:00
parent bdb5ae4516
commit f6f2351fef

View File

@@ -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