[EMAIL PROTECTED] wrote:
***
*** 969,974
--- 980,986
*/
int status = r-status;
r-status = HTTP_OK;
+ ap_discard_request_body(rp);
return status;
}
} else
How does this part fit
(Correction to previous posting: This error *only* occurs with
`ProxyErrorOverride On'.)
When operating as a reverse proxy, with `ProxyErrorOverride On',
mod_proxy incorrectly fails to pass through the WWW-Authenticate
response header on 401 responses.
It seems the problem is that
Apologies for the resend; I omitted to mark this as a [PATCH].
When operating as a reverse proxy, with `ProxyErrorOverride On',
mod_proxy incorrectly fails to pass through the WWW-Authenticate
response header on 401 responses.
It seems the problem is that ap_send_error_response() clears
[EMAIL PROTECTED] wrote:
***
*** 969,974
--- 980,986
*/
int status = r-status;
r-status = HTTP_OK;
+ ap_discard_request_body(rp);
return status;
}
} else
How does this part fit
The WWW-Authenticate header is being dropped from responses sent by
mod_proxy in reverse proxy mode, when the original server's response
was chunked.
The problem appears to be in ap_http_header_filter() in
modules/http/http_protocol.c, where we have:
if (r-status == HTTP_NOT_MODIFIED) {