diff options
author | Graham Leggett <minfrin@apache.org> | 2008-04-11 20:41:53 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2008-04-11 20:41:53 +0200 |
commit | b613588a307b4673ed9ed587a2a5eeaa4f956067 (patch) | |
tree | 09d4db565ecb6a44b63efb413332d039b4093ddd /server/request.c | |
parent | Fix socache modules' APACHE_MODULE() definitions. (diff) | |
download | apache2-b613588a307b4673ed9ed587a2a5eeaa4f956067.tar.xz apache2-b613588a307b4673ed9ed587a2a5eeaa4f956067.zip |
Move the KeptBodySize directive, kept_body filters and the
ap_parse_request_body function out of the http module and into a
new module called mod_request, reducing the size of the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647263 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/request.c')
-rw-r--r-- | server/request.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/request.c b/server/request.c index 6602da221b..1c58a398cc 100644 --- a/server/request.c +++ b/server/request.c @@ -45,6 +45,7 @@ #include "util_charset.h" #include "util_script.h" #include "ap_expr.h" +#include "mod_request.h" #include "mod_core.h" @@ -1648,8 +1649,8 @@ static request_rec *make_sub_request(const request_rec *r, * 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_handle(ap_kept_body_input_filter_handle, - NULL, rnew, rnew->connection); + ap_add_input_filter(KEPT_BODY_FILTER, + NULL, rnew, rnew->connection); return rnew; } |