]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Run filter "init" functions exactly once per request. No longer run
authorJoe Orton <jorton@apache.org>
Thu, 10 Jun 2010 12:52:49 +0000 (12:52 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 10 Jun 2010 12:52:49 +0000 (12:52 +0000)
commit7189b776db3232af11949229ce05a7e10943cdfa
tree2f0765751ac0b617ffdb5fc68d3e909291678b33
parent123c06b848b8569b0510fe91462371cdb5f6f6a9
Run filter "init" functions exactly once per request.  No longer run
init functions for connection filters (doing an "init" once per
handler invocation makes no sense for a connection filter).  No longer
run init functions multiple times per request if a subrequest is used.

* include/util_filter.h (ap_filter_rec_t): Clarify use of the init
  function pointer.

* server/config.c (invoke_filter_init): Drop ap_ prefix for private
  function; take a request_rec pointer and only invoke filters with
  matching request.
  (ap_invoke_handler): Adjust accordingly.

PR: 49328
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953311 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/util_filter.h
server/config.c