| 466 | } |
| 467 | |
| 468 | AP_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 | |
| 487 | AP_DECLARE(apr_status_t) ap_mpm_pod_close(ap_pod_t *pod) |
| 488 | { |
no outgoing calls
no test coverage detected