diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-17 15:51:25 +0800 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-17 15:52:56 +0800 |
commit | 200a588336c7d66ef8af83f32d2395161d8a78cf (patch) | |
tree | 016fbc4b0e8e7dcf8676b24e176ff911f51adc44 | |
parent | 1046f6afce04d23d903c04dfb2dd536e6cd79d44 (diff) | |
download | mod_lookup_identity-200a588336c7d66ef8af83f32d2395161d8a78cf.tar.gz mod_lookup_identity-200a588336c7d66ef8af83f32d2395161d8a78cf.tar.xz mod_lookup_identity-200a588336c7d66ef8af83f32d2395161d8a78cf.zip |
Ensure we run before mod_headers so that our result can be put to request headers for mod_proxy.mod_lookup_identity-0.8.1
-rw-r--r-- | mod_lookup_identity.c | 3 | ||||
-rw-r--r-- | mod_lookup_identity.spec | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c index 4a36ce1..5ec9fd6 100644 --- a/mod_lookup_identity.c +++ b/mod_lookup_identity.c @@ -531,7 +531,8 @@ static const command_rec directives[] = { }; static void register_hooks(apr_pool_t * pool) { - ap_hook_fixups(lookup_identity_hook, NULL, NULL, APR_HOOK_LAST); + static const char * const aszSucc[] = {"mod_headers.c", NULL}; + ap_hook_fixups(lookup_identity_hook, NULL, aszSucc, APR_HOOK_LAST); APR_REGISTER_OPTIONAL_FN(lookup_identity_hook); } diff --git a/mod_lookup_identity.spec b/mod_lookup_identity.spec index 3702c00..29c6a8e 100644 --- a/mod_lookup_identity.spec +++ b/mod_lookup_identity.spec @@ -6,7 +6,7 @@ Summary: Apache module to retrieve additional information about the authenticated user. Name: mod_lookup_identity -Version: 0.8 +Version: 0.8.1 Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Daemons @@ -58,6 +58,10 @@ install -Dp -m 0644 lookup_identity.conf $RPM_BUILD_ROOT%{_httpd_confdir}/lookup %{_httpd_moddir}/*.so %changelog +* Fri Jan 17 2014 Jan Pazdziora - 0.8.1-1 +- Ensure we run before mod_headers so that our result can be put to + request headers for mod_proxy. + * Thu Jan 09 2014 Jan Pazdziora - 0.8-1 - Declare all functions static for proper isolation. |