]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
pass a server_rec to ap_log_error on two interim response messages
authorEric Covener <covener@apache.org>
Fri, 9 Jan 2009 19:31:48 +0000 (19:31 +0000)
committerEric Covener <covener@apache.org>
Fri, 9 Jan 2009 19:31:48 +0000 (19:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733127 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 709367b60c6727d08a545ec190811671bd995422..f22dfa3dcb8d335d7d02b57b84d02e7f13307909 100644 (file)
@@ -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");
             }
         }