| 2526 | } |
| 2527 | |
| 2528 | AP_DECLARE(int) ap_run_sub_req(request_rec *r) |
| 2529 | { |
| 2530 | int retval = DECLINED; |
| 2531 | /* Run the quick handler if the subrequest is not a dirent or file |
| 2532 | * subrequest |
| 2533 | */ |
| 2534 | if (!(r->filename && r->finfo.filetype != APR_NOFILE)) { |
| 2535 | retval = ap_run_quick_handler(r, 0); |
| 2536 | } |
| 2537 | if (retval != OK) { |
| 2538 | retval = ap_invoke_handler(r); |
| 2539 | if (retval == DONE) { |
| 2540 | retval = OK; |
| 2541 | } |
| 2542 | } |
| 2543 | ap_finalize_sub_req_protocol(r); |
| 2544 | return retval; |
| 2545 | } |
| 2546 | |
| 2547 | AP_DECLARE(void) ap_destroy_sub_req(request_rec *r) |
| 2548 | { |
no test coverage detected