Skip to content

Commit a0061f3

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

native/mod_manager/mod_manager.c

+3
Original file line numberDiff line numberDiff line change
@@ -1357,14 +1357,17 @@ 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
}
13641366
/* Optional parameters */
13651367
err_msg = process_context_alias(ptr[i], ptr[i + 1], r->pool, phost, errtype, 1);
13661368
if (err_msg != NULL) {
13671369
return err_msg;
1370+
13681371
}
13691372

13701373
i += 2;

0 commit comments

Comments
 (0)