From da57dc70de2e8398a78ab0e89879b7400b9f89b3 Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Tue, 30 Oct 2001 19:21:41 +0000 Subject: [PATCH] make sure that the HTTP_IN filter is in place across internal redirects. Without this, we see an extra socket read + timeout on POSTs. If the client sends in another request, we loop consuming memory. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91695 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index f7dec6aeb5..b95fb04d7c 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -390,6 +390,8 @@ static request_rec *internal_internal_redirect(const char *new_uri, new->output_filters = r->connection->output_filters; new->input_filters = r->connection->input_filters; + ap_add_input_filter("HTTP_IN", NULL, new, new->connection); + apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", apr_psprintf(r->pool, "%d", r->status)); -- 2.40.0