Commit 30da7ea3 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Minor performance tweak by reusing already calculated strlen in get_body.

Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr>
Reviewed by: Ruediger Pluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345686 13f79535-47bb-0310-9956-ffa450edef68
parent ad221394
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@
Changes with Apache 2.3.0
  [Remove entries to the current 2.0 and 2.2 section below, when backported]
  *) mod_negotiation: Minor performance tweak by reusing already calculated
     strlen.
     [Ruediger Pluem, Christophe Jaillet <christophe.jaillet wanadoo.fr>]
  *) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
  *) Fix typo in ProxyStatus syntax error message.
+1 −1
Original line number Diff line number Diff line
@@ -854,7 +854,7 @@ static apr_off_t get_body(char *buffer, apr_size_t *len, const char *tag,
        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') {