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:
Nikos Mavrogiannopoulos
2014-02-16 22:47:45 +01:00
parent 9d3453877f
commit 991455065f
9 changed files with 88 additions and 81 deletions
+3
View File
@@ -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];