You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/11/20 01:41:12 UTC
svn commit: r345694 - in /httpd/httpd/branches/2.2.x: CHANGES
modules/mappers/mod_negotiation.c
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 <christophe.jaillet wanadoo.fr>
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 <christophe.jaillet wanadoo.fr>]
+
*) 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') {