summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2008-05-09 23:59:02 +0200
committerGraham Leggett <minfrin@apache.org>2008-05-09 23:59:02 +0200
commit3381ababb93de6c3ba992142c64df90fa504df2b (patch)
tree03d15dfacc3437aef260a1a5e8ab941086f93d8a /server
parentsync with 2.2.x (diff)
downloadapache2-3381ababb93de6c3ba992142c64df90fa504df2b.tar.xz
apache2-3381ababb93de6c3ba992142c64df90fa504df2b.zip
mod_request: Insert the KEPT_BODY filter via the insert_filter
hook instead of during fixups. Add a safety check to ensure the filters cannot be inserted more than once. [Graham Leggett, Ruediger Pluem] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@654952 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/request.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/request.c b/server/request.c
index 1c58a398cc..5d4c9aa4b6 100644
--- a/server/request.c
+++ b/server/request.c
@@ -1645,13 +1645,6 @@ static request_rec *make_sub_request(const request_rec *r,
/* Pass on the kept body (if any) into the new request. */
rnew->kept_body = r->kept_body;
- /*
- * Add the KEPT_BODY filter, which will insert any body marked to be
- * kept for the use of a subrequest, into the subrequest.
- */
- ap_add_input_filter(KEPT_BODY_FILTER,
- NULL, rnew, rnew->connection);
-
return rnew;
}