https://issues.apache.org/bugzilla/show_bug.cgi?id=56035
--- Comment #8 from Eric Covener <[email protected]> --- How does this do w/ your php test case, making sure to look at the body -- i suggest using netcat instead of curl/wget since there is some invalid response issues e.g. printf "POST /index.html HTTP/1.0\r\nContent-Length: 2\r\n\r\nab" | nc 0 80 (debug left in) Index: modules/http/http_request.c =================================================================== --- modules/http/http_request.c (revision 1559612) +++ modules/http/http_request.c (working copy) @@ -288,12 +288,15 @@ access_status = OK; } + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "URI %s, rc=%d, status=%d", r->uri, access_status, r->status); + if (access_status == OK) { ap_finalize_request_protocol(r); } else { - r->status = HTTP_OK; + if (access_status != AP_FILTER_ERROR) r->status = HTTP_OK; ap_die(access_status, r); + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "after ap_die URI %s, rc=%d, status=%d", r->uri, access_status, r->status); } /* -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
