Skip to content

Commit a30f659

Browse files
committed
Add more locking to mod_manager
1 parent 3f8655d commit a30f659

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native/mod_manager/mod_manager.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,9 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
12871287
}
12881288

12891289
/* XXX: Node part */
1290+
ap_assert(loc_lock_nodes() == APR_SUCCESS);
12901291
msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
1292+
loc_unlock_nodes();
12911293
if (msg != NULL) {
12921294
return msg;
12931295
}

0 commit comments

Comments
 (0)