Allow setting a reconnection delay time after a failed authentication attempt (added min-reauth-time option).

This commit is contained in:
Nikos Mavrogiannopoulos
2013-03-04 19:42:10 +01:00
parent 2674af5aec
commit 432a2da897
11 changed files with 135 additions and 30 deletions

View File

@@ -72,6 +72,7 @@ struct cfg_st {
char *chroot_dir; /* where the xml files are served from */
char *banner;
time_t cookie_validity; /* in seconds */
time_t min_reauth_time; /* after a failed auth, how soon one can reauthenticate -> in seconds */
unsigned auth_timeout; /* timeout of HTTP auth */
unsigned keepalive;
unsigned dpd;