diff options
author | rcritten <> | 2006-08-09 19:17:56 +0000 |
---|---|---|
committer | rcritten <> | 2006-08-09 19:17:56 +0000 |
commit | f2f7282322eba35795a8c7dd57a61f2f1cf115b5 (patch) | |
tree | 87c58b2e9c0af8b4e251dd18b11dcd5a42f8dcbb /mod_nss.c | |
parent | f1040b4f11a1c00c84dc2609a1b038b6fa8b9c06 (diff) | |
download | mod_nss-f2f7282322eba35795a8c7dd57a61f2f1cf115b5.tar.gz mod_nss-f2f7282322eba35795a8c7dd57a61f2f1cf115b5.tar.xz mod_nss-f2f7282322eba35795a8c7dd57a61f2f1cf115b5.zip |
Merge in changes from http://svn.apache.org/viewvc?view=rev&revision=161958
The issue was that mod_ssl wasn't always picking up ssl-unclean-shutdown
settings. This isn't an issue for mod_nss since it doesn't support
separate shutdown modes, but this does simplify the code a bit.
* mod_nss.h: Remove nss_hook_Translate.
* nss_engine_kernel.c
(nss_hook_ReadReq): Merge in nss_hook_Translate.
(nss_hook_Translate): Remove.
* mod_nss.c (nss_register_hooks): Ensure that _ReadReq
hook runs after mod_setenvif.c; don't register translate_name hook.
Diffstat (limited to 'mod_nss.c')
-rw-r--r-- | mod_nss.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -395,6 +395,10 @@ static apr_port_t nss_hook_default_port(const request_rec *r) static void nss_register_hooks(apr_pool_t *p) { + /* nss_hook_ReadReq needs to use the BrowserMatch settings so must + * run after mod_setenvif's post_read_request hook. */ + static const char *pre_prr[] = { "mod_setenvif.c", NULL }; + nss_io_filter_register(p); ap_hook_pre_connection(nss_hook_pre_connection,NULL,NULL, APR_HOOK_MIDDLE); @@ -407,12 +411,11 @@ static void nss_register_hooks(apr_pool_t *p) ap_hook_default_port (nss_hook_default_port, NULL,NULL, APR_HOOK_MIDDLE); ap_hook_pre_config (nss_hook_pre_config, NULL,NULL, APR_HOOK_MIDDLE); ap_hook_child_init (nss_init_Child, NULL,NULL, APR_HOOK_MIDDLE); - ap_hook_translate_name(nss_hook_Translate, NULL,NULL, APR_HOOK_MIDDLE); ap_hook_check_user_id (nss_hook_UserCheck, NULL,NULL, APR_HOOK_FIRST); ap_hook_fixups (nss_hook_Fixup, NULL,NULL, APR_HOOK_MIDDLE); ap_hook_access_checker(nss_hook_Access, NULL,NULL, APR_HOOK_MIDDLE); ap_hook_auth_checker (nss_hook_Auth, NULL,NULL, APR_HOOK_MIDDLE); - ap_hook_post_read_request(nss_hook_ReadReq, NULL,NULL, APR_HOOK_MIDDLE); + ap_hook_post_read_request(nss_hook_ReadReq, pre_prr,NULL, APR_HOOK_MIDDLE); nss_var_register(); |