]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Add a call to apr_hook_deregister_all() in the clear_module_list function.
authorRyan Bloom <rbb@apache.org>
Sun, 21 Jan 2001 05:21:32 +0000 (05:21 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 21 Jan 2001 05:21:32 +0000 (05:21 +0000)
commit874b4c7efca392e08a4655514e1d2a352b07dae7
treeeaf22b392561ad0748c9b90d9e7c66bf63ca6a07
parent2c40229eba2d4f3f34e334eab13affc61a250d2d
Add a call to apr_hook_deregister_all() in the clear_module_list function.
The basic problem was that when we load the modules, we call the
register_hooks() function from the module, but then we clear the module
list for all active modules, and add them back in one at a time.  When we
add them back, we re-call the register_hooks() function, thus adding
each function a second time.  This was causing apache.org to log every
request twice in the access log.  By calling apr_hook_deregister_all()
when we unload the module, the second call to register the hooks is the
only call that matters.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87774 13f79535-47bb-0310-9956-ffa450edef68
server/config.c