Skip to content

Commit

Permalink
Add more locking to mod_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Oct 4, 2024
1 parent 70ef0ed commit a0061f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions native/mod_manager/mod_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,14 +1357,17 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
return err_msg;
}
/* Node part */
ap_assert(loc_lock_nodes() == APR_SUCCESS);
err_msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
loc_unlock_nodes();
if (err_msg != NULL) {
return err_msg;
}
/* Optional parameters */
err_msg = process_context_alias(ptr[i], ptr[i + 1], r->pool, phost, errtype, 1);
if (err_msg != NULL) {
return err_msg;

}

i += 2;
Expand Down

0 comments on commit a0061f3

Please sign in to comment.