| 84 | } |
| 85 | |
| 86 | int ssl_mutex_on(server_rec *s) |
| 87 | { |
| 88 | SSLModConfigRec *mc = myModConfig(s); |
| 89 | apr_status_t rv; |
| 90 | |
| 91 | if ((rv = apr_global_mutex_lock(mc->pMutex)) != APR_SUCCESS) { |
| 92 | ap_log_error(APLOG_MARK, APLOG_WARNING, rv, s, APLOGNO(02026) |
| 93 | "Failed to acquire SSL session cache lock"); |
| 94 | return FALSE; |
| 95 | } |
| 96 | return TRUE; |
| 97 | } |
| 98 | |
| 99 | int ssl_mutex_off(server_rec *s) |
| 100 | { |
no test coverage detected