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

Function ap_mpm_pod_check

server/mpm_unix.c:468–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468AP_DECLARE(apr_status_t) ap_mpm_pod_check(ap_pod_t *pod)
469{
470 char c;
471 apr_size_t len = 1;
472 apr_status_t rv;
473
474 rv = apr_file_read(pod->pod_in, &c, &len);
475
476 if ((rv == APR_SUCCESS) && (len == 1)) {
477 return APR_SUCCESS;
478 }
479
480 if (rv != APR_SUCCESS) {
481 return rv;
482 }
483
484 return AP_NORESTART;
485}
486
487AP_DECLARE(apr_status_t) ap_mpm_pod_close(ap_pod_t *pod)
488{

Callers 2

child_mainFunction · 0.85
mpm_common.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected