mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ssl/ssl_scache.c (ssl_scache_init): Use <16 character
cname argument for socache ->init() per the API constraint. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -59,7 +59,7 @@ apr_status_t ssl_scache_init(server_rec *s, apr_pool_t *p)
|
|||||||
hints.expiry_interval = 300;
|
hints.expiry_interval = 300;
|
||||||
|
|
||||||
rv = mc->stapling_cache->init(mc->stapling_cache_context,
|
rv = mc->stapling_cache->init(mc->stapling_cache_context,
|
||||||
"mod_ssl-stapling", &hints, s, p);
|
"mod_ssl-staple", &hints, s, p);
|
||||||
if (rv) {
|
if (rv) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01872)
|
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01872)
|
||||||
"Could not initialize stapling cache. Exiting.");
|
"Could not initialize stapling cache. Exiting.");
|
||||||
@@ -84,7 +84,7 @@ apr_status_t ssl_scache_init(server_rec *s, apr_pool_t *p)
|
|||||||
hints.avg_id_len = 30;
|
hints.avg_id_len = 30;
|
||||||
hints.expiry_interval = 30;
|
hints.expiry_interval = 30;
|
||||||
|
|
||||||
rv = mc->sesscache->init(mc->sesscache_context, "mod_ssl-session", &hints, s, p);
|
rv = mc->sesscache->init(mc->sesscache_context, "mod_ssl-sess", &hints, s, p);
|
||||||
if (rv) {
|
if (rv) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01874)
|
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01874)
|
||||||
"Could not initialize session cache. Exiting.");
|
"Could not initialize session cache. Exiting.");
|
||||||
|
Reference in New Issue
Block a user