]> granicus.if.org Git - apache/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)
commit6cbb0419133f345370c7615f65aa8cad3725191d
tree6c5a1adad3e5d48acb2631ac7e1cb7503045a384
parent42dc6831ab7d787e79500e302c24fa6f0d3af148
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