httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r545385 - /httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c
Date Fri, 08 Jun 2007 03:17:41 GMT
Author: pquerna
Date: Thu Jun  7 20:17:41 2007
New Revision: 545385

URL: http://svn.apache.org/viewvc?view=rev&rev=545385
Log:
Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate a relative
timeout. (which did it wrong anyways).

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c?view=diff&rev=545385&r1=545384&r2=545385
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c Thu Jun  7 20:17:41 2007
@@ -189,10 +189,6 @@
         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) {



Mime
View raw message