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

Function x_header_parser

modules/examples/mod_example_hooks.c:1236–1244  ·  view source on GitHub ↗

* this routine gives our module another chance to examine the request * headers and to take special action. This is the first phase whose * hooks' configuration directives can appear inside the * and similar sections, because at this stage the URI has been mapped * to the filename. For example this phase can be used to block evil * clients, while little resources were wasted on th

Source from the content-addressed store, hash-verified

1234 * This is a RUN_ALL hook.
1235 */
1236static int x_header_parser(request_rec *r)
1237{
1238 /*
1239 * We don't actually *do* anything here, except note the fact that we were
1240 * called.
1241 */
1242 trace_request(r, "x_header_parser()");
1243 return DECLINED;
1244}
1245
1246
1247/*

Callers

nothing calls this directly

Calls 1

trace_requestFunction · 0.85

Tested by

no test coverage detected