Skip to content

Commit 99c6bd7

Browse files
committed
Add worker->s->busy initialization
1 parent a30f659 commit 99c6bd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

native/mod_proxy_cluster/mod_proxy_cluster.c

+3
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ static apr_status_t create_worker_reuse(proxy_server_conf *conf, const char *ptr
336336
worker->s->redirect[0] = '\0';
337337
worker->s->lbstatus = 0;
338338
worker->s->lbfactor = -1; /* prevent using the node using status message */
339+
worker->s->busy = 0;
339340

340341
/* add health check */
341342
worker->s->updated = apr_time_now();
@@ -581,6 +582,7 @@ static apr_status_t create_worker(proxy_server_conf *conf, proxy_balancer *balan
581582
worker->s->redirect[0] = '\0';
582583
worker->s->lbstatus = 0;
583584
worker->s->lbfactor = -1; /* prevent using the node using status message */
585+
worker->s->busy = 0;
584586
}
585587

586588
return APR_SUCCESS;
@@ -2108,6 +2110,7 @@ static void init_proxy_worker(server_rec *server, nodeinfo_t *node, proxy_worker
21082110
worker->s->redirect[0] = '\0';
21092111
worker->s->lbstatus = 0;
21102112
worker->s->lbfactor = -1; /* prevent using the node using status message */
2113+
worker->s->busy = 0;
21112114
pair_worker_node(worker->s, node);
21122115

21132116
/* add health check */

0 commit comments

Comments
 (0)