----- Original Message -----
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 5:28 PM
Subject: Apache 2.0 Win32 httpdlib static modules


> It occurs to me;
>
> In 1.3.22, we call ClearModuleList and then re-AddModule for each module
> that isn't commented out.  This allows any admin to eliminate a module
> they do not want running.
>
> In 2.0 - ClearModuleList/AddModule is gone [rightly so.]  There is no
> efficient way to 'unbind' a module once the server is built static.
>
> Although the modules take some time to load and bind, I believe we may
> be better off in 2.0 by creating .so modules for all but mod_so,
mod_win32,
> http, the winnt mpm and core.
>
> Bill Stoddard and I are looking at different models that would speed up
> recovery of a segfaulted child.  This will eliminate the worst of the side
> effects of this change.
>

There is SDK util called bind which purpose is to bypass the indirect DLL
function lookups. There is also an API call BindImage(Ex), but it requires
SDK. IMHO that can be called after the install, and it will reduce the
Import Addres Table lookups not only for the modules but for the msvcrt.dll,
etc... The dll that is used for that is IMAGEHLP.DLL, and I'll try to
investigate that if that's OK with you guys.

MT.

Reply via email to