DTLS-Rekey time is set to be the 2/3 of cookie validity

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-11 20:39:13 +01:00
parent 4060c80469
commit 2e20c3f444
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -536,7 +536,7 @@ struct cmd_auth_req_st areq;
if (ret < 0)
return -1;
ret = tls_printf(ws->session, "Set-Cookie: webvpn=%s\r\n", str_cookie);
ret = tls_printf(ws->session, "Set-Cookie: webvpn=%s;Max-Age=%u\r\n", str_cookie, (unsigned)ws->config->cookie_validity);
if (ret < 0)
return -1;