]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Apply Ben H's patch to the winnt mpm...
authorBill Stoddard <stoddard@apache.org>
Mon, 11 Oct 1999 17:33:24 +0000 (17:33 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 11 Oct 1999 17:33:24 +0000 (17:33 +0000)
commitb692902bffca9df1333ca850eba1038cc170d489
treee331fd826a39c12430d7275a755fb29be01b4d1a
parent6dce1e0645b66d3f0af7491fb6605fe67f834469
Apply Ben H's patch to the winnt mpm...

Well this was thought provoking.

Drive out the use of malloc in two places.

In listen.c, using the global process pool instead.  That changes the
API into listen so that a process is passed in rather than the config
pool.  That's all was easy.

The pain is propogating a change into all N of the mpm, they
are all similar but different in their use of listen.c  There
is a lot to dislike about similar but code scattered code.

I changed the N setup_listener routines, they now take only
the server since they can dig the config and global pool
out of there.

Free today: ap_setup_prelinked_modules now takes the process so it
can allocate it's table in the process's pool rathern than use
malloc.

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