Skip to content

Commit 9328ac1

Browse files
authored
Merge pull request #356 from jajik/fix-free-id-logic
Fix wrong proxy_node_get_free_id logic
2 parents 3b32358 + de10321 commit 9328ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/mod_proxy_cluster/mod_proxy_cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ static int proxy_node_get_free_id(request_rec *r, int node_table_size)
20672067
}
20682068
helper = (proxy_cluster_helper *)worker->context;
20692069
if (helper && helper->index != -1) {
2070-
ids[worker->s->index] = 1;
2070+
ids[helper->index] = 1;
20712071
}
20722072
}
20732073
}

0 commit comments

Comments
 (0)