From: Ryan Bloom Date: Sun, 21 Jan 2001 05:26:45 +0000 (+0000) Subject: Back out the last change (the one that went in without a commit log) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=141d9da545aea5ddbf37e8102767fc36caa674d4;p=apache Back out the last change (the one that went in without a commit log) 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 --- diff --git a/server/main.c b/server/main.c index 260e32a6c3..cd3d854e96 100644 --- a/server/main.c +++ b/server/main.c @@ -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