]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Adding the same filters over and over again used to be okay, because
authorRyan Bloom <rbb@apache.org>
Mon, 4 Mar 2002 05:54:44 +0000 (05:54 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 4 Mar 2002 05:54:44 +0000 (05:54 +0000)
commitc8965c1e94b9cf19972f133d04a4258f41267add
tree6c5a1adad3e5d48acb2631ac7e1cb7503045a384
parentb202fc0556a7503c6de76f480555b59d3f224bd3
Adding the same filters over and over again used to be okay, because
we would lose the extra filters.  Now, if a filter is added, it is run.
Unfortunately, this can cause an infinite loop, or it can cause request
headers to appear twice.  This commit removes two instances in the core
where we were inserting filters for a second and third time.  The bug
was that error responses were causing infinite loops.

This also removes the reset_filters function, which did the exact
same thing as add_required_filters.  The two functions were both called
in error conditions, which was part of what caused this bug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93693 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_core.c
modules/http/http_protocol.c