Perform quicker cleanup of sessions which their user explicitly disconnected

When a user explicitly disconnects after the session is open,
cleanup its entry immediatelly. That ensures that a radius
server will be notified sooner, while anyconnect clients which
disconnect early (before session is open), remain unaffected.

Resolves: #210

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2019-05-29 13:16:00 +02:00
committed by Nikos Mavrogiannopoulos
parent 4da4ade2a3
commit 9d7339f317
3 changed files with 6 additions and 5 deletions

View File

@@ -56,10 +56,9 @@ That value will be overridden by Acct-Interim-Interval if sent
by the server.
Note that the accounting session is reported as terminated as soon as
possible (there is a periodic server cleanup of old entries every 5mins)
when the user disconnects explicitly. Users which their session
disconnected due to timeout, have their connection remain valid
until the `cookie-timeout` value expires.
possible when the user disconnects explicitly. When the disconnection
is due to timeout or other network reasons, the users have their connection
remain valid until the `cookie-timeout` value expires.
Dictionary