/[Apache-SVN]/httpd/httpd/branches/2.2.x/server/mpm/config.m4
ViewVC logotype

Log of /httpd/httpd/branches/2.2.x/server/mpm/config.m4

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 329591 - (view) (annotate) - [select for diffs]
Modified Sun Oct 30 17:05:26 2005 UTC (4 years ago) by niq
File length: 1990 byte(s)
Diff to previous 289961 (colored)
Remove experimental MPMs that show no signs of going anywhere:
perchild, threadpool, leader

Revision 289961 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 19:39:02 2005 UTC (4 years, 2 months ago) by colm
File length: 2215 byte(s)
Diff to previous 234103 (colored)
Backport r239430 to the 2.2.x branch. Lets make sure WINCH is kept free. 


Revision 234103 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 18:21:45 2005 UTC (4 years, 3 months ago) by pquerna
File length: 1719 byte(s)
Diff to previous 156574 (colored)
Recreate 2.2.x branch from trunk.

Revision 156574 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 22:40:33 2005 UTC (4 years, 8 months ago) by pquerna
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1719 byte(s)
Diff to previous 106103 (colored)
Add ap_mpm_is_experimental and ap_mpm_is_threaded.  Use these instead of checking for specific MPMs.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1472 byte(s)
Diff to previous 105919 (colored)
general property cleanup

Revision 105919 - (view) (annotate) - [select for diffs]
Modified Sat Nov 20 02:52:36 2004 UTC (5 years ago) by pquerna
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1472 byte(s)
Diff to previous 98917 (colored)
The Event MPM.
Designed to minimize Apache's KeepAlive overhead.

This MPM depends on the current APR-trunk for new features added to 
the apr_pollset interface. Currently the underlying operating
system must support KQueue or EPoll.

Status:
  Should work as a drop in replacement for all non-ssl servers.
  SSL Requests that use HTTP 1.1 Pipelining do not currently work.

Testing:
  I have tested it with Linux 2.6, FreeBSD 5.2.1, and OS X 10.3.
  
Originally based on the patch by Greg Ames.

Revision 98917 - (view) (annotate) - [select for diffs]
Modified Fri Mar 7 12:23:00 2003 UTC (6 years, 8 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1411 byte(s)
Diff to previous 94693 (colored)
clean up the invocation of APR_CHECK_APR_DEFINE()...
it no longer references the second parameter, which was
incorrectly specified with out-of-tree APR anyway
(which resulted in prefork being selected on Unix since
we didn't ever think APR had thread support)

Revision 94693 - (view) (annotate) - [select for diffs]
Modified Thu Apr 18 08:16:56 2002 UTC (7 years, 7 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1423 byte(s)
Diff to previous 94674 (colored)
Perchild has been deemed experimental and has been moved to
server/mpm/experimental/perchild.

Revision 94674 - (view) (annotate) - [select for diffs]
Modified Tue Apr 16 23:44:56 2002 UTC (7 years, 7 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1396 byte(s)
Diff to previous 94673 (colored)
Add warning message when selecting an experimental MPM.

While this message will scroll by without their reading it, we can
reasonably say that we warned them if they report errors.

Revision 94673 - (view) (annotate) - [select for diffs]
Modified Tue Apr 16 23:39:09 2002 UTC (7 years, 7 months ago) by brianp
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1330 byte(s)
Diff to previous 94614 (colored)
Added support for the threadpool MPM

Revision 94614 - (view) (annotate) - [select for diffs]
Modified Fri Apr 12 03:37:01 2002 UTC (7 years, 7 months ago) by brianp
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1252 byte(s)
Diff to previous 93058 (colored)
Added support for MPMs that live in subdirectories under server/mpm
like server/mpm/experimental/*

Revision 93058 - (view) (annotate) - [select for diffs]
Modified Mon Jan 28 05:08:38 2002 UTC (7 years, 9 months ago) by bjh
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1079 byte(s)
Diff to previous 92183 (colored)
Update --with-mpm help text wrt available OS/2 MPM name.

Revision 92183 - (view) (annotate) - [select for diffs]
Modified Mon Nov 26 21:32:56 2001 UTC (7 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1079 byte(s)
Diff to previous 92098 (colored)
We must use absolute paths or we break VPATH builds.

Revision 92098 - (view) (annotate) - [select for diffs]
Modified Wed Nov 21 18:32:27 2001 UTC (8 years ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1067 byte(s)
Diff to previous 92036 (colored)
Bail out at configure time if an invalid MPM was specified.

Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>
Reviewed by:  Jeff Trawick

Revision 92036 - (view) (annotate) - [select for diffs]
Modified Mon Nov 19 18:07:28 2001 UTC (8 years ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 938 byte(s)
Diff to previous 91211 (colored)
Get rid of threaded MPM.  This commit has the actual code changes.
The deletes come next.

Revision 91211 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 07:57:15 2001 UTC (8 years, 1 month ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 980 byte(s)
Diff to previous 90007 (colored)
Kill two autoconf-related birds with one commit.

- substr used in APACHE_MODULE for the help string did not parse correctly
  with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING.
- Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+
  (actually not 2.13 - look at the regex call) or do our custom variation
  of it.  This function can't have any extra spaces or it will be returned
  in the help string.  So noted.  If anyone can figure out how to insert
  a line break like 2.50+ does when we go over the 26th column, I'd
  appreciate it.  I tried and I'm way too tired to figure it out now.
  Adding this would greatly simplify two or three HELP_STRING uses.
- Switch all of those annoying WITH and ENABLE functions to use the
  APACHE_HELP_STRING.  This makes everything consistent now.  I've always
  had to go through and keep aligning everything every few months or so
  because I'm the only one who cares.  No more.  I refuse to do it any more!
  Use APACHE_HELP_STRING or be crucified.

Looks decent with autoconf-2.13 and autoconf-2.52.

Revision 90007 - (view) (annotate) - [select for diffs]
Modified Tue Aug 7 20:13:58 2001 UTC (8 years, 3 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 973 byte(s)
Diff to previous 89781 (colored)
Use the prefork MPM by default on Unix.

Revision 89781 - (view) (annotate) - [select for diffs]
Modified Mon Jul 30 05:02:53 2001 UTC (8 years, 3 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 974 byte(s)
Diff to previous 89000 (colored)
Add the worker MPM.  The name is probably horrible, but I couldn't come
up with anything better.  This is a multiple-worker/single listener MPM.
This MPM is definately not complete, but it is a first step in the
right direction.

Revision 89000 - (view) (annotate) - [select for diffs]
Modified Sat May 5 08:02:17 2001 UTC (8 years, 6 months ago) by rse
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 936 byte(s)
Diff to previous 88695 (colored)
Cosmetics: align the entry of MPMs in "configure --help" output

Revision 88695 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 18:37:18 2001 UTC (8 years, 7 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 925 byte(s)
Diff to previous 88258 (colored)
Make Apache check APR's configuration when determining the default MPM.
This way, if APR is built without threads, then Apache defaults to the
prefork MPM.

Revision 88258 - (view) (annotate) - [select for diffs]
Modified Wed Feb 21 11:46:41 2001 UTC (8 years, 9 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1330 byte(s)
Diff to previous 88245 (colored)
Get rid of Apache's concern for foo_CHECK_SIGWAIT_ONE_ARG.
Apache no longer needs to define nor invoke such a macro since
it is handled in APR.

Revision 88245 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 02:01:09 2001 UTC (8 years, 9 months ago) by fielding
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1360 byte(s)
Diff to previous 88199 (colored)
Update APR macro usage to new name-protected names.
Replace REENTRANCY_FLAGS with direct use of THREAD_CPPFLAGS.
This is a temporary band-aid, since the way we currently set
the standard make vars (CFLAGS, CPPFLAGS, LDFLAGS, etc.) is
bogus and frequently redundant [to be fixed later].

Revision 88199 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 19:00:24 2001 UTC (8 years, 9 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1356 byte(s)
Diff to previous 88147 (colored)
Rename the mpmt_pthread module to threaded.  This module has moved from
the old mpmt_pthread directory to the new threaded directory.

Revision 88147 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 21:23:22 2001 UTC (8 years, 9 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1368 byte(s)
Diff to previous 88144 (colored)
Fix some spelling mistakes and remove the mpmt_beos MPM from the config.m4
file.
Submitted by:	Cliff Woolley <cliffwoolley@yahoo.com>

Revision 88144 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 20:30:19 2001 UTC (8 years, 9 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1373 byte(s)
Diff to previous 87187 (colored)
Remove the dexter MPM.  This has been replaced with the Perchild MPM.
The two MPMs are basically identical, except that Perchild also allows
each child process to have a unique uid/gid combination.

Revision 87187 - (view) (annotate) - [select for diffs]
Modified Mon Dec 4 22:33:51 2000 UTC (8 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1411 byte(s)
Diff to previous 86141 (colored)
Get Apache to configure completely again.  This still doesn't build, but
now we are getting very close.

Revision 86141 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 20:16:29 2000 UTC (9 years, 3 months ago) by jim
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1413 byte(s)
Diff to previous 85902 (colored)
Try to organize the MPM pre-selection to the hints.m4 file.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 85902 - (view) (annotate) - [select for diffs]
Modified Thu Jul 27 00:16:32 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1535 byte(s)
Diff to previous 85887 (colored)
Add a new MPM.  Currently this is almost an exact copy of the dexter MPM.
In time, this will be the MPM that allows each child process to have a
unique user id.  I need a place to work and keep track of my changes.
Don't expect this to work until next week sometime.

Revision 85887 - (view) (annotate) - [select for diffs]
Modified Tue Jul 25 23:48:21 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1504 byte(s)
Diff to previous 85871 (colored)
REmove the mpmt MPM.  This also removes all of the config logic required
to get this MPM to compile.  I may try to combine the two threading MPMs
a bit more, or I may not.

Revision 85871 - (view) (annotate) - [select for diffs]
Modified Sun Jul 23 12:32:18 2000 UTC (9 years, 4 months ago) by sascha
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 3031 byte(s)
Diff to previous 85819 (colored)
Fix VPATH builds

Revision 85819 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 19:00:16 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2901 byte(s)
Diff to previous 85798 (colored)
Remove all pthreads calls from the mpmt MPM prefork emulation.  This makes
the mpmt MPM look almost exactly like the original prefork MPM.  Basically,
all that's left is re-naming the defined directives so they work with 1.3
config files.  That will come later.

Revision 85798 - (view) (annotate) - [select for diffs]
Modified Sun Jul 9 18:54:08 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2854 byte(s)
Diff to previous 85792 (colored)
Fix building the mpmt MPM.  The problem was that IfModule uses the name of
the C file to determine if a module is present.  mpmt emulates three
different MPMs though.  If the default config file we have sane defaults
for each of the three MPMs that mpmt emulates.

To fix this, the build process creates a soft link to the original MPM name
during the configure process, and the build process actually compiles that
file, instead of the original mpmt.c.  This allow the mpmt MPM to work
just as well as mpmt_pthread.

Revision 85792 - (view) (annotate) - [select for diffs]
Modified Sat Jul 8 14:29:13 2000 UTC (9 years, 4 months ago) by jim
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2178 byte(s)
Diff to previous 85791 (colored)
Ack.  is the variable
that's set, so we better check that one :)

Revision 85791 - (view) (annotate) - [select for diffs]
Modified Sat Jul 8 14:25:25 2000 UTC (9 years, 4 months ago) by jim
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2184 byte(s)
Diff to previous 85789 (colored)
We already depend on these autoconf functions
in other places. Avoid possible portability concerns by using them
here as well

Revision 85789 - (view) (annotate) - [select for diffs]
Modified Sat Jul 8 13:05:40 2000 UTC (9 years, 4 months ago) by gstein
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2133 byte(s)
Diff to previous 85788 (colored)
the new "mpmt" MPM is busted. the config system didn't listen to me when I
said that I really wanted --with-mpm=mpmt_pthread. I made it listen :-)

the new behavior: if you explicitly state an MPM, then it is used. if it
guesses one, then it is free to replace that guess with mpmt.

[ yes, this will probably change again when mpmt works ]

Revision 85788 - (view) (annotate) - [select for diffs]
Modified Fri Jul 7 17:35:41 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1970 byte(s)
Diff to previous 85539 (colored)
Initial version of the mpmt MPM.  This MPM can emulate dexter, mpmt_pthread,
and prefork.  This basically just combines a lot of common code.  This
builds and serves pages in all three modes, but I don't think killing
the server works in any of them.  The configuration system hasn't changed
at all, so using --with-mpm=(prefork|dexter|mpmt_pthread) all work.

My goal is to remove the three separate MPMs in a few days, and then work
on merging one of the BeOS and the OS/2 MPMs into this as well.  :-)

Revision 85539 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 17:04:39 2000 UTC (9 years, 5 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1458 byte(s)
Diff to previous 85501 (colored)
All of Apache uses APR for shared memory, so Apache doesn't need to check
for SHM_[RW].

Revision 85501 - (view) (annotate) - [select for diffs]
Modified Sat Jun 10 16:15:08 2000 UTC (9 years, 5 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1478 byte(s)
Diff to previous 85457 (colored)
Cleanup more of the Apache configuration.  This removes all of the shared
memory checks, because Apache relies completely on APR for shared memory
support.  In doing this, we also need to know how APR/MM are providing
our shared memory (ie file or memory) that requires the change made to
APR's configure script that was just committed.

Revision 85457 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 12:36:51 2000 UTC (9 years, 5 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2143 byte(s)
Diff to previous 85104 (colored)
Change the mmap() feature test to check only for existence.
The autoconf-provided check used previously fails when the
platform doesn't support MAP_FIXED.  Apache doesn't use that
mmap() feature, so we don't want to require it.
Submitted by:	Greg Ames

Revision 85104 - (view) (annotate) - [select for diffs]
Modified Sun Apr 30 02:31:07 2000 UTC (9 years, 6 months ago) by sascha
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2155 byte(s)
Diff to previous 85101 (colored)
Work around the non-working pthread.h detection on OpenBSD.

We can savely assume that pthread.h exists on every system which
supports Pthreads.

PR: #29

Revision 85101 - (view) (annotate) - [select for diffs]
Modified Sat Apr 29 23:57:54 2000 UTC (9 years, 6 months ago) by sascha
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2392 byte(s)
Diff to previous 84704 (colored)
Add ap_sigwait() to support old-style sigwait().

Revision 84704 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 14:21:12 2000 UTC (9 years, 8 months ago) by bjh
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2363 byte(s)
Diff to previous 84589 (colored)
Default to spmt_os2 on OS/2

Revision 84589 - (view) (annotate) - [select for diffs]
Modified Mon Feb 7 12:05:22 2000 UTC (9 years, 9 months ago) by dreid
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2322 byte(s)
Diff to previous 84521 (colored)
These changes allow the MPM to be selected based on platform.  At present it
works for BeOS but adding others shouldn't be hard.  Also added the OS2
MPM to the list.

Revision 84521 - (view) (annotate) - [select for diffs]
Modified Wed Jan 26 07:47:34 2000 UTC (9 years, 10 months ago) by bjh
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2239 byte(s)
Diff to previous 84475 (colored)
Only check for pthreads for mpms that actually need it rather than assuming
everything except prefork needs it. Clarify threads != pthreads.

Revision 84475 - (view) (annotate) - [select for diffs]
Modified Sun Jan 16 20:00:51 2000 UTC (9 years, 10 months ago) by sascha
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2203 byte(s)
Diff to previous 84423 (colored)
Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR.

Revision 84423 - (view) (annotate) - [select for diffs]
Modified Tue Jan 11 13:11:13 2000 UTC (9 years, 10 months ago) by sascha
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2209 byte(s)
Diff to previous 84369 (colored)
These changes are committed together, because they depend on each other.

    -   shared modules can be built in the tree
    -   added support for --with-layout, uses APACI's config.layout
    -   working 'make install'
    -   working 'make depend'
    -   working Pthreads checks
    -   buildconf replaced

Revision 84369 - (view) (annotate) - [select for diffs]
Modified Fri Dec 24 21:12:20 1999 UTC (9 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2324 byte(s)
Diff to previous 84365 (colored)
Fix the threads  check so it works on non-bash shells.
Submitted by:   Sascha Schumann
Reviewed by:    Ryan Bloom

Revision 84365 - (view) (annotate) - [select for diffs]
Modified Fri Dec 24 18:31:10 1999 UTC (9 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 2319 byte(s)
Diff to previous 84363 (colored)
Finish the MPM decision logic.  This moves the threads checking stuff into
the mpm directory where it belongs.  It also adds logic so that if threads
aren't detected, we automatically choose to use the prefork mpm.  Lastly,
I also cleaned up a variable name to make it more consistent with the other
variables used in our configure script.

Revision 84363 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 21:01:31 1999 UTC (9 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1870 byte(s)
Diff to previous 84329 (colored)
First stab at logic to determine which threading library to use.  This also
gets rid of the hack of always putting -pthread in the CFLAGS variable.

Revision 84329 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 03:09:50 1999 UTC (9 years, 11 months ago) by manoj
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1934 byte(s)
Diff to previous 84226 (colored)
Eliminate the .h.stub files; AC_DEFINE can generate the necessary
#defines in the config header for us.

Revision 84226 - (view) (annotate) - [select for diffs]
Modified Sun Dec 5 19:36:42 1999 UTC (9 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1708 byte(s)
Diff to previous 84223 (colored)
I shouldn't have to explicitly provide an MPM.  I am setting the default
as mpmt_pthread.  I would much rather it was prefork, but the autoconf
work hasn't progressed to the point that prefork will work yet.  When it
does work, I expect the default to change.

Revision 84223 - (view) (annotate) - [select for diffs]
Modified Sun Dec 5 08:54:39 1999 UTC (9 years, 11 months ago) by manoj
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1626 byte(s)
Diff to previous 84187 (colored)
autoconf: Generate modules.c based on configuration. This is the first
step to supporting selection of modules, and it seems to make --with-mpm
actually work now.

Revision 84187 - (view) (annotate) - [select for diffs]
Added Mon Nov 29 23:47:33 1999 UTC (9 years, 11 months ago) by manoj
Original Path: httpd/httpd/trunk/server/mpm/config.m4
File length: 1591 byte(s)
The second part of the big autoconf patch, which actually adds autoconf
building to the tree.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2