Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 17512 invoked from network); 25 Feb 2008 10:06:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2008 10:06:54 -0000 Received: (qmail 56557 invoked by uid 500); 25 Feb 2008 10:06:49 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 56367 invoked by uid 500); 25 Feb 2008 10:06:49 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 56356 invoked by uid 99); 25 Feb 2008 10:06:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 02:06:48 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 10:06:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CCE3B1A9832; Mon, 25 Feb 2008 02:06:30 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r630787 - in /httpd/httpd/trunk/modules/ssl: ssl_scache_dbm.c ssl_scache_dc.c Date: Mon, 25 Feb 2008 10:06:30 -0000 To: cvs@httpd.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080225100630.CCE3B1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jorton Date: Mon Feb 25 02:06:28 2008 New Revision: 630787 URL: http://svn.apache.org/viewvc?rev=630787&view=rev Log: * modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_retrieve): Set *destlen on success. * modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve): Likewise. Found by: rpluem Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c httpd/httpd/trunk/modules/ssl/ssl_scache_dc.c Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c?rev=630787&r1=630786&r2=630787&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c (original) +++ httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c Mon Feb 25 02:06:28 2008 @@ -243,6 +243,7 @@ return FALSE; } + *destlen = nData; memcpy(&expiry, dbmval.dptr, sizeof(time_t)); memcpy(dest, (char *)dbmval.dptr + sizeof(time_t), nData); Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_dc.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_scache_dc.c?rev=630787&r1=630786&r2=630787&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_scache_dc.c (original) +++ httpd/httpd/trunk/modules/ssl/ssl_scache_dc.c Mon Feb 25 02:06:28 2008 @@ -141,6 +141,7 @@ ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "distributed scache 'get_session' OVERFLOW"); return FALSE; } + *destlen = data_len; ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, "distributed scache 'get_session' HIT"); return TRUE; }