Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 76146 invoked from network); 20 Nov 2005 00:41:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Nov 2005 00:41:34 -0000 Received: (qmail 67748 invoked by uid 500); 20 Nov 2005 00:41:34 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 67729 invoked by uid 500); 20 Nov 2005 00:41:33 -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 67718 invoked by uid 99); 20 Nov 2005 00:41:33 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 19 Nov 2005 16:41:33 -0800 Received: (qmail 76106 invoked by uid 65534); 20 Nov 2005 00:41:13 -0000 Message-ID: <20051120004113.76105.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345694 - in /httpd/httpd/branches/2.2.x: CHANGES modules/mappers/mod_negotiation.c Date: Sun, 20 Nov 2005 00:41:12 -0000 To: cvs@httpd.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: pquerna Date: Sat Nov 19 16:41:09 2005 New Revision: 345694 URL: http://svn.apache.org/viewcvs?rev=345694&view=rev Log: Merge r345686 from trunk: * Minor performance tweak by reusing already calculated strlen in get_body. Submitted by: Christophe Jaillet Reviewed by: Ruediger Pluem Modified: httpd/httpd/branches/2.2.x/CHANGES httpd/httpd/branches/2.2.x/modules/mappers/mod_negotiation.c Modified: httpd/httpd/branches/2.2.x/CHANGES URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/CHANGES?rev=345694&r1=345693&r2=345694&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/CHANGES [utf-8] (original) +++ httpd/httpd/branches/2.2.x/CHANGES [utf-8] Sat Nov 19 16:41:09 2005 @@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.1.10 + *) mod_negotiation: Minor performance tweak by reusing already calculated + strlen. + [Ruediger Pluem, Christophe Jaillet ] + *) Remove support for 'On' and 'Off' for AuthBasicProvider and AuthDigestProvider. [Joshua Slive, Justin Erenkrantz] Modified: httpd/httpd/branches/2.2.x/modules/mappers/mod_negotiation.c URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/mappers/mod_negotiation.c?rev=345694&r1=345693&r2=345694&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/modules/mappers/mod_negotiation.c (original) +++ httpd/httpd/branches/2.2.x/modules/mappers/mod_negotiation.c Sat Nov 19 16:41:09 2005 @@ -854,7 +854,7 @@ return -1; } bodylen = endbody - buffer; - endbody += strlen(tag); + endbody += taglen; /* Skip all the trailing cruft after the end tag to the next line */ while (*endbody) { if (*endbody == '\n') {