Make sure the module is loaded only after mod_ssl. Hopefully fixes SB #92195 (incorre...
authorDaniel Kouřil <kouril@ics.muni.cz>
Thu, 22 Mar 2012 10:04:05 +0000 (10:04 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Thu, 22 Mar 2012 10:04:05 +0000 (10:04 +0000)
org.gridsite.core/src/mod_gridsite.c

index 9c59697..d388fd7 100644 (file)
@@ -4542,10 +4542,11 @@ static ap_unix_identity_t *mod_gridsite_get_suexec_id_doer(const request_rec *r)
 static void register_hooks(apr_pool_t *p)
 {
     /* config and handler stuff */
+    static const char * const aszPre[] = { "mod_ssl.c", NULL };
 
     ap_hook_post_config(mod_gridsite_server_post_config, NULL, NULL, 
                                                               APR_HOOK_LAST);
-    ap_hook_child_init(mod_gridsite_child_init, NULL, NULL, APR_HOOK_MIDDLE);
+    ap_hook_child_init(mod_gridsite_child_init, aszPre, NULL, APR_HOOK_MIDDLE);
     
     ap_hook_check_user_id(mod_gridsite_check_user_id, NULL, NULL, 
                                                       APR_HOOK_REALLY_FIRST);