summaryrefslogtreecommitdiffstats
path: root/server/core.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2002-03-05 06:24:21 +0100
committerRyan Bloom <rbb@apache.org>2002-03-05 06:24:21 +0100
commit349a0b17e42a6249120fa9ecebf923694b6b59b4 (patch)
tree47c1eff22c13a1650782a7010c02a4a2e1d34dda /server/core.c
parentStop the loop when we have found the correct filter, or when the filter (diff)
downloadapache2-349a0b17e42a6249120fa9ecebf923694b6b59b4.tar.xz
apache2-349a0b17e42a6249120fa9ecebf923694b6b59b4.zip
Only insert net_filter once per request. Initialize the output
protocol filters. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/core.c')
-rw-r--r--server/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/core.c b/server/core.c
index 73c8d06e98..fa5046ad48 100644
--- a/server/core.c
+++ b/server/core.c
@@ -3772,8 +3772,10 @@ static int core_create_req(request_rec *r)
}
else {
req_cfg->bb = apr_brigade_create(r->pool);
+ if (!r->prev) {
ap_add_input_filter_handle(ap_net_time_filter_handle,
NULL, r, r->connection);
+ }
}
ap_set_module_config(r->request_config, &core_module, req_cfg);