From 3381ababb93de6c3ba992142c64df90fa504df2b Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Fri, 9 May 2008 21:59:02 +0000 Subject: 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 --- server/request.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'server') 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; } -- cgit v1.2.3