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:
3
CHANGES
3
CHANGES
@@ -1,5 +1,8 @@
|
|||||||
Changes with Apache 2.0.40
|
Changes with Apache 2.0.40
|
||||||
|
|
||||||
|
*) Fix infinite loop due to two HTTP_IN filters being present for
|
||||||
|
internally redirected requests. PR 10146. [Justin Erenkrantz]
|
||||||
|
|
||||||
*) Switch conn_rec->keepalive to an enumeration rather than a bitfield.
|
*) Switch conn_rec->keepalive to an enumeration rather than a bitfield.
|
||||||
[Justin Erenkrantz]
|
[Justin Erenkrantz]
|
||||||
|
|
||||||
|
@@ -383,8 +383,6 @@ static request_rec *internal_internal_redirect(const char *new_uri,
|
|||||||
f = f->next;
|
f = f->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
ap_add_input_filter("HTTP_IN", NULL, new, new->connection);
|
|
||||||
|
|
||||||
apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
|
apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
|
||||||
apr_itoa(r->pool, r->status));
|
apr_itoa(r->pool, r->status));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user