* @param r The current request
* @ingroup hooks
*/
-AP_DECLARE_HOOK(void,create_request,(request_rec *r))
+AP_DECLARE_HOOK(int,create_request,(request_rec *r))
/**
* This hook allow modules an opportunity to translate the URI into an
}
}
-static void core_create_req(request_rec *r)
+static int core_create_req(request_rec *r)
{
if (r->main) {
ap_set_module_config(r->request_config, &core_module,
req_cfg->bb = apr_brigade_create(r->pool);
ap_set_module_config(r->request_config, &core_module, req_cfg);
}
+ return OK;
}
static void register_hooks(apr_pool_t *p)
AP_IMPLEMENT_HOOK_RUN_FIRST(int,auth_checker,
(request_rec *r),(r),DECLINED)
AP_IMPLEMENT_HOOK_VOID(insert_filter, (request_rec *r), (r))
-AP_IMPLEMENT_HOOK_VOID(create_request, (request_rec *r), (r))
+AP_IMPLEMENT_HOOK_RUN_ALL(int,create_request,(request_rec *r),(r),OK,DECLINED)
/*****************************************************************
*