summaryrefslogtreecommitdiffstats
path: root/server/request.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2008-04-11 20:41:53 +0200
committerGraham Leggett <minfrin@apache.org>2008-04-11 20:41:53 +0200
commitb613588a307b4673ed9ed587a2a5eeaa4f956067 (patch)
tree09d4db565ecb6a44b63efb413332d039b4093ddd /server/request.c
parentFix socache modules' APACHE_MODULE() definitions. (diff)
downloadapache2-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.c5
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;
}