Fix logging of SSL session cache timeout value (at TRACE2 level).
Inadvertent side effect of r907918, where the timeout calculation
in ssl_callback_NewSessionCacheEntry was slightly modified.
Submitted by: kbrand
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1510527 13f79535-47bb-0310-9956-
ffa450edef68
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_ssl: Fix logging of SSL session cache timeout value
- trunk patch: https://svn.apache.org/r1510098
- 2.4.x patch: trunk patch works
- +1: kbrand, trawick, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
if (timeout) {
apr_snprintf(timeout_str, sizeof(timeout_str),
- "timeout=%lds ", (timeout - time(NULL)));
+ "timeout=%lds ", timeout);
}
ap_log_error(APLOG_MARK, APLOG_TRACE2, 0, s,