Loading CHANGES +3 −0 Changes for CHANGES: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ Changes with Apache 2.3.11 *) mod_socache_dc: Make module compile by fixing some typos. PR 50735 [Mark Montague <mark catseye.org>] *) prefork: Update MPM state in children during a graceful stop or restart. PR 41743. [Andrew Punch <andrew.punch 247realmedia.com>] Loading modules/cache/mod_socache_dc.c +2 −2 Changes for modules/cache/mod_socache_dc.c: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -100,10 +100,10 @@ static apr_status_t socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, * Uhm - because most things expire things at a specific time? * Were the API were thought out expiry - r->request_time is a good approximation */ expiry -= apr_time_t(NULL); expiry -= apr_time_now(); /* Send the serialised session to the distributed cache context */ if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len, apr_time_in_msec(expiry)) { apr_time_msec(expiry))) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "distributed scache 'store' failed"); return APR_EGENERAL; } Loading Loading
CHANGES +3 −0 Changes for CHANGES: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ Changes with Apache 2.3.11 *) mod_socache_dc: Make module compile by fixing some typos. PR 50735 [Mark Montague <mark catseye.org>] *) prefork: Update MPM state in children during a graceful stop or restart. PR 41743. [Andrew Punch <andrew.punch 247realmedia.com>] Loading
modules/cache/mod_socache_dc.c +2 −2 Changes for modules/cache/mod_socache_dc.c: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -100,10 +100,10 @@ static apr_status_t socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, * Uhm - because most things expire things at a specific time? * Were the API were thought out expiry - r->request_time is a good approximation */ expiry -= apr_time_t(NULL); expiry -= apr_time_now(); /* Send the serialised session to the distributed cache context */ if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len, apr_time_in_msec(expiry)) { apr_time_msec(expiry))) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "distributed scache 'store' failed"); return APR_EGENERAL; } Loading