]> granicus.if.org Git - apache/commitdiff
Back out the last change (the one that went in without a commit log)
authorRyan Bloom <rbb@apache.org>
Sun, 21 Jan 2001 05:26:45 +0000 (05:26 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 21 Jan 2001 05:26:45 +0000 (05:26 +0000)
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

server/main.c

index 260e32a6c3ec96aa2e80203314a2b5c1cbe3ee38..cd3d854e9674ebabfa9092be2a5d2593200869e2 100644 (file)
@@ -403,6 +403,10 @@ int main(int argc, const char * const argv[])
     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