DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43060>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43060





------- Additional Comments From [EMAIL PROTECTED]  2007-08-13 04:01 -------
I think the fix to ajp_header is sufficient as for header_only requests response
bodys get discarded by  http_filters.c:ap_http_header_filter.
Furthermore I think that

Index: modules/proxy/ajp_header.c
===================================================================
--- modules/proxy/ajp_header.c  (revision 563471)
+++ modules/proxy/ajp_header.c  (working copy)
@@ -218,7 +218,11 @@
     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                          "Into ajp_marshal_into_msgb");
 
-    if ((method = sc_for_req_method_by_id(r->method_number)) == 
UNKNOWN_METHOD) {
+    if (r->header_only) {
+        method = SC_M_HEAD;
+    }
+    else if ((method = sc_for_req_method_by_id(r->method_number))
+             == UNKNOWN_METHOD) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
                "ajp_marshal_into_msgb - No such method %s",
                r->method);

should be sufficient as header only is only set for HEAD requests.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to