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

Function x_http_scheme

modules/examples/mod_example_hooks.c:880–889  ·  view source on GitHub ↗

* The hook runner for ap_hook_http_scheme is aliased to ap_http_scheme(), * a routine that the core and other modules call when they need to know * the URL scheme for the request. For instance, mod_ssl returns "https" * if the server_rec associated with the request has SSL enabled. * * This hook was named 'ap_hook_http_method' in httpd 2.0. * * This is a RUN_FIRST hook: the first handler t

Source from the content-addressed store, hash-verified

878 * "http".
879 */
880static const char *x_http_scheme(const request_rec *r)
881{
882 /*
883 * Log the call and exit.
884 */
885 trace_request(r, "x_http_scheme()");
886
887 /* We have no claims to make about the request scheme */
888 return NULL;
889}
890
891/*
892 * The runner for this hook is aliased to ap_default_port(), which the

Callers

nothing calls this directly

Calls 1

trace_requestFunction · 0.85

Tested by

no test coverage detected