]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
add RewriteOptions LongURLOptimization
authorEric Covener <covener@apache.org>
Fri, 16 Jun 2017 15:13:03 +0000 (15:13 +0000)
committerEric Covener <covener@apache.org>
Fri, 16 Jun 2017 15:13:03 +0000 (15:13 +0000)
commit4fa0f6c103ae53d2cb5988303b99da35cf7d9dc9
tree55375a4253fa836b152820279efba020cb885308
parent96406317e48cdb290604b58ab3ea6490512f5d7e
add RewriteOptions LongURLOptimization

Variable expansion in RewriteCond causes strings to be duplicated
out of r->pool.  If the variables are long and many conditions
are evaluated, r->pool can get seriously bloated.

Clear the memory used for variable expansion for each set of conditons
once the set of conditions fails to match.

edit: revised in 1799261

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1798938 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
docs/manual/mod/mod_rewrite.xml
modules/mappers/mod_rewrite.c