* Is it the initial main request, which we only get *once* per HTTP request? */
| 2565 | * Is it the initial main request, which we only get *once* per HTTP request? |
| 2566 | */ |
| 2567 | AP_DECLARE(int) ap_is_initial_req(request_rec *r) |
| 2568 | { |
| 2569 | return (r->main == NULL) /* otherwise, this is a sub-request */ |
| 2570 | && (r->prev == NULL); /* otherwise, this is an internal redirect */ |
| 2571 | } |
| 2572 |
no outgoing calls
no test coverage detected