]> granicus.if.org Git - apache/commitdiff
Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate...
authorPaul Querna <pquerna@apache.org>
Fri, 8 Jun 2007 03:17:41 +0000 (03:17 +0000)
committerPaul Querna <pquerna@apache.org>
Fri, 8 Jun 2007 03:17:41 +0000 (03:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@545385 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_scache_memcache.c

index f17d21787abea811001d93e6fcc484c65fe3c4d4..8dc6b0e2b76756a6406a356d4d24c3a7376f38f6 100644 (file)
@@ -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) {