msr_global_mutex_lock: Handle errors from apr_global_mutex_lock

This commit is contained in:
Marc Stern
2024-09-12 12:18:25 +02:00
parent 0e6fc62548
commit b52201010d
5 changed files with 32 additions and 58 deletions

View File

@@ -707,6 +707,7 @@ struct msc_parm {
/* Reusable functions */
int acquire_global_lock(apr_global_mutex_t **lock, apr_pool_t *mp);
int msr_global_mutex_lock(modsec_rec* msr, apr_global_mutex_t* lock, const char* fct);
/* Engine functions */