Skip to content

Commit b13360f

Browse files
committed
Add more locking to mod_manager
1 parent 50524db commit b13360f

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
@@ -1290,7 +1290,9 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
12901290
}
12911291

12921292
/* XXX: Node part */
1293+
ap_assert(loc_lock_nodes() == APR_SUCCESS);
12931294
msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
1295+
loc_unlock_nodes();
12941296
if (msg != NULL) {
12951297
return msg;
12961298
}

0 commit comments

Comments
 (0)