mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Catch up ssl to socache store expiry change, and clarify what the code is doing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1812,9 +1812,10 @@ int ssl_callback_NewSessionCacheEntry(SSL *ssl, SSL_SESSION *session)
|
||||
id = SSL_SESSION_get_session_id(session);
|
||||
idlen = SSL_SESSION_get_session_id_length(session);
|
||||
|
||||
timeout += modssl_session_get_time(session);
|
||||
|
||||
rc = ssl_scache_store(s, id, idlen, timeout, session, conn->pool);
|
||||
rc = ssl_scache_store(s, id, idlen,
|
||||
apr_time_from_sec(modssl_session_get_time(session)
|
||||
+ timeout),
|
||||
session, conn->pool);
|
||||
|
||||
ssl_session_log(s, "SET", id, idlen,
|
||||
rc == TRUE ? "OK" : "BAD",
|
||||
|
Reference in New Issue
Block a user