summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/core.c2
-rw-r--r--server/request.c1
2 files changed, 3 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);
diff --git a/server/request.c b/server/request.c
index 86d78cade6..0a7e0b55d1 100644
--- a/server/request.c
+++ b/server/request.c
@@ -1499,6 +1499,7 @@ static request_rec *make_sub_request(const request_rec *r,
rnew->input_filters = r->input_filters;
rnew->proto_input_filters = r->proto_input_filters;
rnew->output_filters = next_filter;
+ rnew->proto_output_filters = r->connection->output_filters;
ap_add_output_filter_handle(ap_subreq_core_filter_handle,
NULL, rnew, rnew->connection);
}