1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

protect logic in case backend == NULL

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2016-03-25 12:14:30 +00:00
parent 7b28341acf
commit 5a902d26e7

View File

@@ -503,12 +503,12 @@ static apr_status_t backend_cleanup(const char *proxy_function, proxy_conn_rec *
if (backend) {
backend->close = 1;
ap_proxy_release_connection(proxy_function, backend, s);
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(03251)
"Health check %s Status (%d) for %s.",
ap_proxy_show_hcmethod(backend->worker->s->method),
status,
backend->worker->s->name);
}
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(03251)
"Health check %s Status (%d) for %s.",
ap_proxy_show_hcmethod(backend->worker->s->method),
status,
backend->worker->s->name);
if (status != OK) {
return APR_EGENERAL;
}