You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2001/10/30 20:21:41 UTC
cvs commit: httpd-2.0/modules/http http_request.c
gregames 01/10/30 11:21:41
Modified: modules/http http_request.c
Log:
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.
Revision Changes Path
1.117 +2 -0 httpd-2.0/modules/http/http_request.c
Index: http_request.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/http/http_request.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- http_request.c 2001/10/02 21:13:41 1.116
+++ http_request.c 2001/10/30 19:21:41 1.117
@@ -390,6 +390,8 @@
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));