mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
simplified handling of CISCO reconnecting clients.
Instead of having a client use the initial SID over and over, re-set the SID cookie, during authentication when needed. That way we avoid having expensive checks to ensure uniqueness of SID.
This commit is contained in:
@@ -86,9 +86,12 @@ struct http_req_st {
|
||||
|
||||
char hostname[MAX_HOSTNAME_SIZE];
|
||||
char user_agent[MAX_AGENT_NAME];
|
||||
|
||||
unsigned int next_header;
|
||||
unsigned char cookie[COOKIE_SIZE];
|
||||
unsigned int cookie_set;
|
||||
|
||||
uint8_t sid_cookie[SID_SIZE];
|
||||
unsigned int sid_cookie_set;
|
||||
|
||||
unsigned char master_secret[TLS_MASTER_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user