mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
make the proxy code spit out an error to the error log.
This bit me when I included a 11th file no error message, nothing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
3
CHANGES
3
CHANGES
@ -1,5 +1,8 @@
|
||||
Changes with Apache 2.0.30-dev
|
||||
|
||||
*) On a error in the proxy, make it write a line to the error log
|
||||
[Ian Holsman]
|
||||
|
||||
Changes with Apache 2.0.29
|
||||
|
||||
*) Add buffering in core_output_filter to ensure that long
|
||||
|
@ -588,6 +588,8 @@ PROXY_DECLARE(int) ap_proxyerror(request_rec *r, int statuscode, const char *mes
|
||||
apr_table_setn(r->notes, "verbose-error-to", apr_pstrdup(r->pool, "*"));
|
||||
|
||||
r->status_line = apr_psprintf(r->pool, "%3.3u Proxy Error", statuscode);
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, r,
|
||||
"proxy: %s returned by %s", message, r->uri);
|
||||
return statuscode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user