| 1943 | } |
| 1944 | |
| 1945 | static void register_hooks(apr_pool_t *p) |
| 1946 | { |
| 1947 | static const char * const cfgPost[]={ "http_core.c", NULL }; |
| 1948 | static const char * const parsePre[]={ "mod_proxy.c", NULL }; |
| 1949 | |
| 1950 | ap_hook_pre_config(pre_init, NULL, NULL, APR_HOOK_MIDDLE); |
| 1951 | ap_hook_post_config(initialize_module, NULL, cfgPost, APR_HOOK_MIDDLE); |
| 1952 | ap_hook_child_init(initialize_child, NULL, NULL, APR_HOOK_MIDDLE); |
| 1953 | ap_hook_post_read_request(parse_hdr_and_update_nc, parsePre, NULL, APR_HOOK_MIDDLE); |
| 1954 | ap_hook_check_authn(authenticate_digest_user, NULL, NULL, APR_HOOK_MIDDLE, |
| 1955 | AP_AUTH_INTERNAL_PER_CONF); |
| 1956 | |
| 1957 | ap_hook_fixups(add_auth_info, NULL, NULL, APR_HOOK_MIDDLE); |
| 1958 | ap_hook_note_auth_failure(hook_note_digest_auth_failure, NULL, NULL, |
| 1959 | APR_HOOK_MIDDLE); |
| 1960 | |
| 1961 | } |
| 1962 | |
| 1963 | AP_DECLARE_MODULE(auth_digest) = |
| 1964 | { |
nothing calls this directly
no test coverage detected