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

Fix infinite loop when reading certain data due to two HTTP_IN filters being

present for internally redirected requests.

If HTTP_IN is present, r->proto_input_filters would have it, so adding it
twice is wrong.

PR: 10146
Reviewed by:	Brian Pane


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Justin Erenkrantz
2002-06-27 04:40:47 +00:00
parent b7f68a9349
commit 32e15557ff
2 changed files with 3 additions and 2 deletions

View File

@@ -383,8 +383,6 @@ static request_rec *internal_internal_redirect(const char *new_uri,
f = f->next;
}
ap_add_input_filter("HTTP_IN", NULL, new, new->connection);
apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
apr_itoa(r->pool, r->status));