From: Paul Querna Date: Fri, 8 Jun 2007 03:17:41 +0000 (+0000) Subject: Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate... X-Git-Tag: 2.3.0~1788 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58803119f9c330fd8a80dbe80f6875804366c30c;p=apache Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate a relative timeout. (which did it wrong anyways). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@545385 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_scache_memcache.c b/modules/ssl/ssl_scache_memcache.c index f17d21787a..8dc6b0e2b7 100644 --- a/modules/ssl/ssl_scache_memcache.c +++ b/modules/ssl/ssl_scache_memcache.c @@ -189,10 +189,6 @@ BOOL ssl_scache_mc_store(server_rec *s, UCHAR *id, int idlen, return FALSE; } - timeout -= time(NULL); - - timeout = apr_time_sec(timeout); - rv = apr_memcache_set(memctxt, strkey, (char*)ucp, nData, timeout, 0); if (rv != APR_SUCCESS) {