I thought this change was necessary to stop reporting the SERVER_VERSION
twice. In reality, the apr_hook_deregister_all() call in
ap_clear_module_list solved that problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87776
13f79535-47bb-0310-9956-
ffa450edef68
for (;;) {
apr_hook_deregister_all();
apr_clear_pool(pconf);
+ for (mod = ap_prelinked_modules; *mod != NULL; mod++) {
+ ap_register_hooks(*mod, pconf);
+ }
+
/* This is a hack until we finish the code so that it only reads
* the config file once and just operates on the tree already in