You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ruediger Pluem <rp...@apache.org> on 2006/01/17 21:43:22 UTC

[PATCH] Possible fix for report 38123

As far as I can see the root cause for the report 38123
(http://issues.apache.org/bugzilla/show_bug.cgi?id=38123) is the missing
HTTP_IN filter in the error case. As I am currently unsure if this creates
any sideeffects, some remote eyes please :-).


Index: server/protocol.c
===================================================================
--- server/protocol.c»··(Revision 369902)
+++ server/protocol.c»··(Arbeitskopie)
@@ -934,6 +934,8 @@
             ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                           "client sent an unrecognized expectation value of "
                           "Expect: %s", expect);
+            ap_add_input_filter_handle(ap_http_input_filter_handle,
+                                       NULL, r, r->connection);
             ap_send_error_response(r, 0);
             ap_update_child_status(conn->sbh, SERVER_BUSY_LOG, r);
             ap_run_log_transaction(r);


Regards

Rüdiger