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

Function ap_is_initial_req

server/request.c:2567–2571  ·  view source on GitHub ↗

* Is it the initial main request, which we only get *once* per HTTP request? */

Source from the content-addressed store, hash-verified

2565 * Is it the initial main request, which we only get *once* per HTTP request?
2566 */
2567AP_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

Callers 15

ap_dbd_acquireFunction · 0.85
authenticate_form_authnFunction · 0.85
check_anonymousFunction · 0.85
parse_hdr_and_update_ncFunction · 0.85
dispatchFunction · 0.85
ssl_hook_ReadReqFunction · 0.85
ssl_hook_UserCheckFunction · 0.85
data_out_filterFunction · 0.85
sed_request_filterFunction · 0.85
deflate_in_filterFunction · 0.85
inflate_out_filterFunction · 0.85
buffer_in_filterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected