From 58803119f9c330fd8a80dbe80f6875804366c30c Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 8 Jun 2007 03:17:41 +0000 Subject: [PATCH] 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 --- modules/ssl/ssl_scache_memcache.c | 4 ---- 1 file changed, 4 deletions(-) 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) { -- 2.40.0