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

Function is_mpm_running

modules/http/http_protocol.c:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199#define METHOD_NUMBER_LAST 62
200
201static int is_mpm_running(void)
202{
203 int mpm_state = 0;
204
205 if (ap_mpm_query(AP_MPMQ_MPM_STATE, &mpm_state)) {
206 return 0;
207 }
208
209 if (mpm_state == AP_MPMQ_STOPPING) {
210 return 0;
211 }
212
213 return 1;
214}
215
216
217AP_DECLARE(int) ap_set_keepalive(request_rec *r)

Callers 1

ap_set_keepaliveFunction · 0.85

Calls 1

ap_mpm_queryFunction · 0.85

Tested by

no test coverage detected