mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-06 14:56:59 +08:00
when we detect user disconnection, set the proper expiration time on their cookies
This commit is contained in:
@@ -174,7 +174,7 @@ time_t now = time(0);
|
||||
gnutls_datum_t key = {s->cookie_key, sizeof(s->cookie_key)};
|
||||
char str_ip[MAX_IP_STR+1];
|
||||
PROTOBUF_ALLOCATOR(pa, proc);
|
||||
struct cookie_entry_st *old;
|
||||
struct cookie_entry_st *old = NULL;
|
||||
|
||||
if (req->cookie.len == 0) {
|
||||
mslog(s, proc, LOG_INFO, "error in cookie size");
|
||||
|
||||
Reference in New Issue
Block a user