mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
Merge 1610311 from trunk:
Extend the scope of SSLSessionCacheTimeout to sessions resumed by TLS session resumption (RFC 5077). Submitted by: rjung Reviewed by: rjung, ylavic, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1610399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1443,6 +1443,10 @@ static apr_status_t ssl_init_server_ctx(server_rec *s,
|
||||
}
|
||||
#endif
|
||||
|
||||
SSL_CTX_set_timeout(sc->server->ssl_ctx,
|
||||
sc->session_cache_timeout == UNSET ?
|
||||
SSL_SESSION_CACHE_TIMEOUT : sc->session_cache_timeout);
|
||||
|
||||
return APR_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user