MCPcopy Create free account
hub / github.com/apache/httpd / stapling_mutex_on

Function stapling_mutex_on

modules/ssl/ssl_util_stapling.c:676–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676static int stapling_mutex_on(server_rec *s, apr_global_mutex_t *mutex,
677 const char *name)
678{
679 apr_status_t rv;
680
681 if ((rv = apr_global_mutex_lock(mutex)) != APR_SUCCESS) {
682 ap_log_error(APLOG_MARK, APLOG_WARNING, rv, s, APLOGNO(01948)
683 "Failed to acquire OCSP %s lock", name);
684 return FALSE;
685 }
686 return TRUE;
687}
688
689static int stapling_mutex_off(server_rec *s, apr_global_mutex_t *mutex,
690 const char *name)

Callers 2

stapling_cache_mutex_onFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected