1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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
This commit is contained in:
Greg Ames
2001-10-30 19:21:41 +00:00
parent d5fe728b25
commit da57dc70de

View File

@@ -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));