From: Eric Covener Date: Fri, 9 Jan 2009 19:31:48 +0000 (+0000) Subject: pass a server_rec to ap_log_error on two interim response messages X-Git-Tag: 2.3.2~198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f63b5a4dbdb7a2c19750b3da85a11542b87e585a;p=thirdparty%2Fapache%2Fhttpd.git pass a server_rec to ap_log_error on two interim response messages git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733127 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 709367b60c6..f22dfa3dcb8 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -1619,7 +1619,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, */ const char *policy = apr_table_get(r->subprocess_env, "proxy-interim-response"); - ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, "proxy: HTTP: received interim %d response", r->status); if (!policy || !strcasecmp(policy, "RFC")) { @@ -1629,7 +1629,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, * policies and maybe also add option to bail out with 502 */ else if (strcasecmp(policy, "Suppress")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_WARNING, 0, r->server, "undefined proxy interim response policy"); } }