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:
Ian Holsman
2001-11-28 21:07:32 +00:00
parent fa271cbab0
commit e1e621b3d4
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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;
}