Skip to content

Commit 4b38f33

Browse files
committed
Add more locking to mod_manager
1 parent 3dc9599 commit 4b38f33

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
@@ -1362,7 +1362,9 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
13621362
return err_msg;
13631363
}
13641364
/* Node part */
1365+
ap_assert(loc_lock_nodes() == APR_SUCCESS);
13651366
err_msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
1367+
loc_unlock_nodes();
13661368
if (err_msg != NULL) {
13671369
return err_msg;
13681370
}

0 commit comments

Comments
 (0)