Blame SOURCES/httpd-2.4.34-r1841263+.patch
|
|
9364d6 |
diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c
|
|
|
9364d6 |
index 0265b4a..e59188e 100644
|
|
|
9364d6 |
--- a/modules/proxy/mod_proxy_hcheck.c
|
|
|
9364d6 |
+++ b/modules/proxy/mod_proxy_hcheck.c
|
|
|
9364d6 |
@@ -602,7 +602,6 @@ static apr_status_t hc_check_tcp(baton_t *baton)
|
|
|
9364d6 |
|
|
|
9364d6 |
status = hc_get_backend("HCTCP", &backend, hc, ctx, baton->ptemp);
|
|
|
9364d6 |
if (status == OK) {
|
|
|
9364d6 |
- backend->addr = hc->cp->addr;
|
|
|
9364d6 |
status = ap_proxy_connect_backend("HCTCP", backend, hc, ctx->s);
|
|
|
9364d6 |
/* does an unconditional ap_proxy_is_socket_connected() */
|
|
|
9364d6 |
}
|
|
|
9364d6 |
@@ -820,6 +819,7 @@ static void * APR_THREAD_FUNC hc_check(apr_thread_t *thread, void *b)
|
|
|
9364d6 |
"%sHealth checking %s", (thread ? "Threaded " : ""),
|
|
|
9364d6 |
worker->s->name);
|
|
|
9364d6 |
|
|
|
9364d6 |
+ worker->s->updated = now;
|
|
|
9364d6 |
if (hc->s->method == TCP) {
|
|
|
9364d6 |
rv = hc_check_tcp(baton);
|
|
|
9364d6 |
}
|
|
|
9364d6 |
@@ -860,7 +860,6 @@ static void * APR_THREAD_FUNC hc_check(apr_thread_t *thread, void *b)
|
|
|
9364d6 |
}
|
|
|
9364d6 |
}
|
|
|
9364d6 |
}
|
|
|
9364d6 |
- worker->s->updated = now;
|
|
|
9364d6 |
apr_pool_destroy(baton->ptemp);
|
|
|
9364d6 |
return NULL;
|
|
|
9364d6 |
}
|