Commit ce07a82c authored by Greg Ames's avatar Greg Ames
Browse files

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
parent 26c02aa3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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));