httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r546326 - /httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c
Date Tue, 12 Jun 2007 00:29:18 GMT
Author: pquerna
Date: Mon Jun 11 17:29:17 2007
New Revision: 546326

URL: http://svn.apache.org/viewvc?view=rev&rev=546326
Log:
Fix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffer passed,
we need to use ucaData rather than ucp to put it into memcache.

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=546326&r1=546325&r2=546326
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache_memcache.c Mon Jun 11 17:29:17 2007
@@ -189,7 +189,7 @@
         return FALSE;
     }
 
-    rv = apr_memcache_set(memctxt, strkey, (char*)ucp, nData, timeout, 0);
+    rv = apr_memcache_set(memctxt, strkey, (char*)ucaData, nData, timeout, 0);
 
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,



Mime
View raw message