Skip to content

Commit caf1303

Browse files
committed
Add more locking to mod_manager
1 parent 70ef0ed commit caf1303

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native/mod_manager/mod_manager.c

+2
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,9 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
13571357
return err_msg;
13581358
}
13591359
/* Node part */
1360+
ap_assert(loc_lock_nodes() == APR_SUCCESS);
13601361
err_msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
1362+
loc_unlock_nodes();
13611363
if (err_msg != NULL) {
13621364
return err_msg;
13631365
}

0 commit comments

Comments
 (0)