hook after ap_scoreboard_init. Since we only have a single child on
WIN32 that isn't a big problem, cause plain memory is enough. Other
platforms were not affected cause scoreboard_image is inherited from parent.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105151
13f79535-47bb-0310-9956-
ffa450edef68
for (i = 0; i < balancer->workers->nelts; i++) {
#if PROXY_HAS_SCOREBOARD
/* Get scoreboard slot */
- score = ap_get_scoreboard_lb(workers[i].id);
+ if (ap_scoreboard_image)
+ score = ap_get_scoreboard_lb(workers[i].id);
#endif
if (!score)
score = apr_pcalloc(pool, sizeof(proxy_runtime_stat));