/[Apache-SVN]/httpd/httpd/trunk/include/mpm_common.h
ViewVC logotype

Log of /httpd/httpd/trunk/include/mpm_common.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 883540 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 23:17:51 2009 UTC (2 days, 14 hours ago) by trawick
File length: 12069 byte(s)
Diff to previous 830527 (colored)
Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
and WatchdogMutexPath with a single Mutex directive.  Add APIs to
simplify setup and user customization of APR proc and global mutexes.  
(See util_mutex.h.)  Build-time setting DEFAULT_LOCKFILE is no longer
respected; set DEFAULT_REL_RUNTIMEDIR instead.

Some existing modules, such as mod_ldap and mod_auth_digest gain 
configurability for their mutexes.

Revision 830527 - (view) (annotate) - [select for diffs]
Modified Wed Oct 28 13:25:49 2009 UTC (4 weeks, 1 day ago) by poirier
File length: 12381 byte(s)
Diff to previous 818828 (colored)
Fix a lot of doxygen warnings.  Thanks to Brad Hards for the patch.
I added a few more fixes, and there are still more that might
need a doxygen expert.

PR: 48061
Submitted by: Brad Hards
Reviewed by: poirier

Revision 818828 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 12:11:51 2009 UTC (2 months ago) by jim
File length: 12120 byte(s)
Diff to previous 818827 (colored)
Hmmm... forgot git commit/dcommit.

Revision 818827 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 12:06:51 2009 UTC (2 months ago) by jim
File length: 12121 byte(s)
Diff to previous 818825 (colored)
Oops. forgot the declaration

Revision 818825 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 11:59:30 2009 UTC (2 months ago) by jim
File length: 12105 byte(s)
Diff to previous 762127 (colored)
Enhance ap_hook_monitor to pass along a server_rec (in
general the ap_server_conf) and tuck away some storage
in there which may be useful as an opaque data pointer.

Revision 762127 - (view) (annotate) - [select for diffs]
Modified Sun Apr 5 17:54:22 2009 UTC (7 months, 3 weeks ago) by trawick
File length: 12055 byte(s)
Diff to previous 760864 (colored)
main() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function

change the mpm hooks to return OK/DONE instead of 0/1

Revision 760864 - (view) (annotate) - [select for diffs]
Modified Wed Apr 1 11:53:50 2009 UTC (7 months, 3 weeks ago) by trawick
File length: 12166 byte(s)
Diff to previous 759757 (colored)
mpm-query hook: distinguish between DECLINED and APR_ENOTIMPL so that
. ap_mpm_query() can return APR_EGENERAL if called too early (for debugging a module)
. some hypothetical module which implements the mpm-query hook can bypass the MPM
  with APR_ENOTIMPL

Revision 759757 - (view) (annotate) - [select for diffs]
Modified Sun Mar 29 19:30:17 2009 UTC (7 months, 4 weeks ago) by trawick
File length: 11967 byte(s)
Diff to previous 759172 (colored)
the mpm_get_child_pid hook is unnecessary, as was the per-MPM MPM_CHILD_PID() macro which it replaced

axe this new hook, and use ap_get_scoreboard_process() instead

Revision 759172 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 15:18:50 2009 UTC (8 months ago) by trawick
File length: 12280 byte(s)
Diff to previous 758944 (colored)
change commentary to note MPM API changes: MPM_ macros to mpm_ hooks

Revision 758944 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 00:32:22 2009 UTC (8 months ago) by trawick
File length: 12266 byte(s)
Diff to previous 758936 (colored)
axe unmaintained 1.3-era code to support AUX, SunOS, IRIX, Next, Tandem, MPE, 
LynxOS, QNX, and UnixWare

Revision 758936 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 00:05:18 2009 UTC (8 months ago) by trawick
File length: 12283 byte(s)
Diff to previous 758671 (colored)
remove TPF support

Revision 758671 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 15:03:57 2009 UTC (8 months ago) by trawick
File length: 12300 byte(s)
Diff to previous 758371 (colored)
axe the unnecessary AP_MPM_HARD_LIMITS_FILE

Revision 758371 - (view) (annotate) - [select for diffs]
Modified Wed Mar 25 18:00:26 2009 UTC (8 months ago) by wrowe
File length: 12365 byte(s)
Diff to previous 758312 (colored)
no longer conditional; although some are now in mpm_unix.c

Revision 758312 - (view) (annotate) - [select for diffs]
Modified Wed Mar 25 15:46:56 2009 UTC (8 months ago) by trawick
File length: 13435 byte(s)
Diff to previous 758229 (colored)
resurrect the old (pre-r757867) compiled-in MPM_NAME value, but via a hook for dynamically
linked MPMs

Revision 758229 - (view) (annotate) - [select for diffs]
Modified Wed Mar 25 11:33:40 2009 UTC (8 months ago) by trawick
File length: 13365 byte(s)
Diff to previous 758226 (colored)
dangling semis lead to warnings with Sun Studio

Revision 758226 - (view) (annotate) - [select for diffs]
Modified Wed Mar 25 11:29:55 2009 UTC (8 months ago) by trawick
File length: 13370 byte(s)
Diff to previous 758014 (colored)
fix inconsistent defs of ap_mpm_note_child_killed()

Revision 758014 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 20:52:10 2009 UTC (8 months ago) by trawick
File length: 13363 byte(s)
Diff to previous 757853 (colored)
axe the remaining checks of AP_MPM_WANT_foo to see what code to generate
MPMs no longer provide those definitions

(the signal server support is an interesting problem, since it has to be known before loading
loading the MPM)

Revision 757853 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 15:43:59 2009 UTC (8 months ago) by trawick
File length: 13765 byte(s)
Diff to previous 722399 (colored)
Introduce a new set of APIs to allow MPMs to be proper modules instead
of integral parts which share global variables, functions, and macros
with the rest of httpd.

Converted now:
  prefork, worker, event, simple, WinNT*

*WinNT hasn't been built or tested, and relies on a hack to include the
WinNT mpm.h to disable Unixy MPM support routines in mpm_common.c

Revision 722399 - (view) (annotate) - [select for diffs]
Modified Tue Dec 2 08:13:36 2008 UTC (11 months, 3 weeks ago) by pquerna
File length: 12782 byte(s)
Diff to previous 710037 (colored)
API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix.

Revision 710037 - (view) (annotate) - [select for diffs]
Modified Mon Nov 3 11:37:03 2008 UTC (12 months, 3 weeks ago) by niq
File length: 12779 byte(s)
Diff to previous 709993 (colored)
Wrap the global count of privileges handlers operating.  Silence grumblers.

Revision 709993 - (view) (annotate) - [select for diffs]
Modified Mon Nov 3 00:46:54 2008 UTC (12 months, 3 weeks ago) by niq
File length: 12756 byte(s)
Diff to previous 553013 (colored)
Switch all unix MPMs to use drop_privileges hook (mod_unixd) for startup
and add a flag to prevent running without any module taking responsibility
for managing system privileges!

Revision 553013 - (view) (annotate) - [select for diffs]
Modified Tue Jul 3 23:02:32 2007 UTC (2 years, 4 months ago) by sctemme
File length: 12587 byte(s)
Diff to previous 551843 (colored)
Use correct Doxygen keywords for functions and variables.  TODO: figure out whether those keywords are actually necessary.  HTML-ify some documentation comments for benefit of Doxygen.

Revision 551843 - (view) (annotate) - [select for diffs]
Modified Fri Jun 29 10:33:14 2007 UTC (2 years, 4 months ago) by jorton
File length: 12597 byte(s)
Diff to previous 551835 (colored)
Add alternative fixes for CVE-2007-3304:

* configure.in: Check for getpgid.

* include/mpm_common.h (ap_mpm_safe_kill): New prototype.

* server/mpm_common.c (reclaim_one_pid): Ensure pid validity before
calling apr_proc_wait().
(ap_mpm_safe_kill): New function.

* server/mpm/prefork/prefork.c, server/mpm/worker/worker.c,
server/mpm/experimental/event/event.c: Use ap_mpm_safe_kill() on pids
from the scoreboard, throughout.

* include/ap_mmn.h: Minor bump.

Revision 551835 - (view) (annotate) - [select for diffs]
Modified Fri Jun 29 09:31:11 2007 UTC (2 years, 4 months ago) by jorton
File length: 12087 byte(s)
Diff to previous 547987 (colored)
Revert r547987 ("svn merge -c -547987 .")

Revision 547987 - (view) (annotate) - [select for diffs]
Modified Sat Jun 16 21:29:24 2007 UTC (2 years, 5 months ago) by jim
File length: 12263 byte(s)
Diff to previous 467326 (colored)
PID table impl: parent process keeps a local table store of
Apache child process PIDs and uses that to check validity
of what's in the scoreboard.

Revision 467326 - (view) (annotate) - [select for diffs]
Modified Tue Oct 24 13:17:29 2006 UTC (3 years, 1 month ago) by jim
File length: 12087 byte(s)
Diff to previous 420983 (colored)
Once SSLMutex allowed for the setting of both the
locking method and the lockfile location, I never
liked how AcceptMutex was linked to LockFile. This
seemed unnecessary. Much better to have AcceptMutex
do both as well. Plus, now that we will likely see
other modules require a "standard" way of setting
mutexes, why not have Apache provide that as
an API of sorts.

Anyway, LockFile is now depreciated and AcceptMutex
is now SSLMutex-like. We also provide a short
function that "parses" out a mutex parameter
and strips out the mechanism and lockfile location.
AcceptMutex and SSLMutex is this capability.


Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 12137 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 11990 byte(s)
Diff to previous 264104 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 264104 - (view) (annotate) - [select for diffs]
Modified Mon Aug 29 09:38:33 2005 UTC (4 years, 2 months ago) by colm
File length: 11990 byte(s)
Diff to previous 264103 (colored)
*how* did I mis-spell that.


Revision 264103 - (view) (annotate) - [select for diffs]
Modified Mon Aug 29 09:28:27 2005 UTC (4 years, 2 months ago) by colm
File length: 11989 byte(s)
Diff to previous 263931 (colored)
Move the "GracefulShutdownTimeout" command definition into mpm_common


Revision 263931 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 23:03:59 2005 UTC (4 years, 2 months ago) by ianh
File length: 11717 byte(s)
Diff to previous 240465 (colored)
Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman


Revision 240465 - (view) (annotate) - [select for diffs]
Modified Sat Aug 27 22:12:08 2005 UTC (4 years, 3 months ago) by colm
File length: 11608 byte(s)
Diff to previous 240296 (colored)
Add ap_relieve_child_processess(), a non-infanticidal copy of
ap_reclaim_child_processes(). Allows us to waitpid() each process in the
scoreboard and each "extra" process with a single call.


Revision 240296 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 17:43:24 2005 UTC (4 years, 3 months ago) by colm
File length: 10826 byte(s)
Diff to previous 240274 (colored)
Move the "GracefulShutdownTimeout" directive into mpm_common, for re-use
with other MPM's.


Revision 240274 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 16:13:17 2005 UTC (4 years, 3 months ago) by colm
File length: 10547 byte(s)
Diff to previous 239430 (colored)
Silly me, I forgot to commit this; the definitions for the GRACEFUL_STOP
signal.


Revision 239430 - (view) (annotate) - [select for diffs]
Modified Tue Aug 23 16:41:17 2005 UTC (4 years, 3 months ago) by colm
File length: 10265 byte(s)
Diff to previous 188846 (colored)
Remove support for the threaded-mpm's on Linux 2.0, and de-autoconf the
graceful restart signal. Frees up SIGWINCH for implementing graceful stop.
See <20050727114058.GA3390@stdlib.net> and subsequent thread on httpd-dev.


Revision 188846 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 19:13:37 2005 UTC (4 years, 5 months ago) by niq
File length: 9992 byte(s)
Diff to previous 151408 (colored)
Add monitor hook (discussed under "watchdog" thread).


Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 9946 byte(s)
Diff to previous 109510 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 109510 - (view) (annotate) - [select for diffs]
Modified Thu Dec 2 17:39:22 2004 UTC (4 years, 11 months ago) by trawick
File length: 9910 byte(s)
Diff to previous 106103 (colored)
worker MPM: Fix a problem which could cause httpd processes to
remain active after shutdown.

The problem occurred when a scoreboard entry currently
in use by an exiting child process was used for a new child
process.  At that point, the MPM forgot about the exiting
child process, so ap_reclaim_child_processes() wouldn't be
able to forceably terminate it.

(An exiting child process may *never* exit due to a stuck
or long-running request being handled on one of the threads.)

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 8629 byte(s)
Diff to previous 102975 (colored)
general property cleanup

Revision 102975 - (view) (annotate) - [select for diffs]
Modified Mon Mar 15 23:08:41 2004 UTC (5 years, 8 months ago) by trawick
File length: 8629 byte(s)
Diff to previous 102931 (colored)
use existing directive name ThreadStackSize instead of
WorkerStackSize

as made obvious by: Brad Nicholes

Revision 102931 - (view) (annotate) - [select for diffs]
Modified Thu Mar 11 03:57:50 2004 UTC (5 years, 8 months ago) by trawick
File length: 8629 byte(s)
Diff to previous 102869 (colored)
Threaded MPMs for Unix and Win32: Add WorkerStackSize directive
to override default thread stack size for threads which handle
client connections.  Required for some third-party modules on
platforms with small default thread stack size.

This is also useful for trimming back the stack size on
platforms with relatively large default stack size in order to
conserve address space for supporting more threads per child.

Revision 102869 - (view) (annotate) - [select for diffs]
Modified Sat Mar 6 14:50:55 2004 UTC (5 years, 8 months ago) by jorton
File length: 8408 byte(s)
Diff to previous 102686 (colored)
* include/mpm_common.h (ap_pod_t): Remove 'sa' field.

* server/mpm_common.c (ap_mpm_pod_open, dummy_connection): Use
ap_listeners->bind_addr for the dummy connection rather than doing a
name lookup on the first listener's hostname and using one of the
addresses returned.

PR: 27313

Revision 102686 - (view) (annotate) - [select for diffs]
Modified Thu Feb 19 11:19:43 2004 UTC (5 years, 9 months ago) by trawick
File length: 8432 byte(s)
Diff to previous 102619 (colored)
Add a new directive EnableExceptionHook that must be specified for
exception hooks to be called (in addition to the build time
requirements).

The 2.1-dev feature is now more aligned with the 1.3.30-dev feature,
in that there is a build-time requirement as well as a configuration
requirement.

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 8258 byte(s)
Diff to previous 102525 (colored)
fix name of The Apache Software Foundation

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 8254 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 10473 byte(s)
Diff to previous 99312 (colored)
update license to 2004.

Revision 99312 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 16:58:30 2003 UTC (6 years, 7 months ago) by trawick
File length: 10473 byte(s)
Diff to previous 98908 (colored)
consolidate code related to sig_coredump

a note on perchild:
  perchild exception handling was busted before this and is still busted
  the problem I noticed was that a client that exposes a segfault never
  gets its connection dropped and the parent never notices that the
  child process that segfaulted hasexited

Revision 98908 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 21:48:58 2003 UTC (6 years, 8 months ago) by gregames
File length: 10284 byte(s)
Diff to previous 98573 (colored)
Linux 2.4+: enable coredumps when Apache is started as root if
            CoreDumpDirectory is explicitly coded

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 10246 byte(s)
Diff to previous 95958 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 95958 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 22:39:03 2002 UTC (7 years, 4 months ago) by brianp
File length: 10246 byte(s)
Diff to previous 95957 (colored)
fix ap_mpm_set_max_mem_free declaration to match mpm_common.c

Revision 95957 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 17:54:49 2002 UTC (7 years, 4 months ago) by brianp
File length: 10186 byte(s)
Diff to previous 95237 (colored)
Add missing declarations of the new max_mem_free stuff
so prefork will compile

Revision 95237 - (view) (annotate) - [select for diffs]
Modified Thu May 23 12:58:37 2002 UTC (7 years, 6 months ago) by trawick
File length: 10032 byte(s)
Diff to previous 94309 (colored)
Add "-k start|startssl|restart|graceful|stop" support to httpd
for the Unix MPMs.  These have semantics very similar to the
old apachectl commands of the same name.

The use of stderr/stdout and exit status for error conditions
needs to be revisited.  For now it matches apachectl behavior.

Justin Erenkrantz got the ball rolling with this feature.  Some
of his support code was used unchanged.  Other code was shuffled
around and modified or rewritten.

Revision 94309 - (view) (annotate) - [select for diffs]
Modified Fri Mar 29 16:21:48 2002 UTC (7 years, 8 months ago) by jim
File length: 9907 byte(s)
Diff to previous 94062 (colored)
Syncing makes no sense now

Revision 94062 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 22:19:11 2002 UTC (7 years, 8 months ago) by jim
File length: 9986 byte(s)
Diff to previous 94055 (colored)
Fold the compiled-in knowledge of the allowable AcceptMutex settings into
its help entry. Requires the use of a extern string rather than a function
call for the initialization to be valid in the macro (Thx to Jeff!).
In the meantime, bump down the error logging until we deal with true
default and configured setting information ala 1.3.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 94055 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 16:44:13 2002 UTC (7 years, 8 months ago) by jim
File length: 9984 byte(s)
Diff to previous 93918 (colored)
Bring 2.0 up to parity, a bit, with how much info we provide to
the admin regarding valid values for AcceptMutex. Should also
tell 'em what "default" actually maps to, but that can wait.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 9936 byte(s)
Diff to previous 92774 (colored)
Update our copyright for this year.

Revision 92774 - (view) (annotate) - [select for diffs]
Modified Tue Jan 8 21:09:02 2002 UTC (7 years, 10 months ago) by bnicholes
File length: 9936 byte(s)
Diff to previous 92653 (colored)
Added the #ifdef's to the prototypes to match the corresponding source code

Revision 92653 - (view) (annotate) - [select for diffs]
Modified Sat Dec 29 23:16:24 2001 UTC (7 years, 10 months ago) by trawick
File length: 9880 byte(s)
Diff to previous 92019 (colored)
handle the disappearance of apr_lock_create_np() and
apr_proc_mutex_create_np() and the new parameter to
apr_lock_create() and apr_proc_mutex_create()

Revision 92019 - (view) (annotate) - [select for diffs]
Modified Sat Nov 17 14:02:26 2001 UTC (8 years ago) by trawick
File length: 9883 byte(s)
Diff to previous 91648 (colored)
Get mod_cgid killed when a MPM exits due to a fatal error.
Presumably other such processes are affected to.  Now we
give main() a chance to clean up.

Revision 91648 - (view) (annotate) - [select for diffs]
Modified Tue Oct 23 17:30:07 2001 UTC (8 years, 1 month ago) by rbb
File length: 9817 byte(s)
Diff to previous 90153 (colored)
Fix the reporting for child processes that die.  This removes
all of the non-portable W* macros from Apache.

Submitted by:	Jeff Trawick and Ryan Bloom

Revision 90153 - (view) (annotate) - [select for diffs]
Modified Tue Aug 14 12:30:50 2001 UTC (8 years, 3 months ago) by trawick
File length: 9760 byte(s)
Diff to previous 90141 (colored)
namespace-protect accept_lock_mech

fix a bug in the worker MPM which effectively disabled the AcceptMutex
directive

Revision 90141 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 18:24:53 2001 UTC (8 years, 3 months ago) by trawick
File length: 9757 byte(s)
Diff to previous 90138 (colored)
change the name of AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES to
be more consistent with similar names added recently; this
also cleans up an #if/#ifdef discrepency

Revision 90138 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 16:42:13 2001 UTC (8 years, 3 months ago) by trawick
File length: 9810 byte(s)
Diff to previous 90137 (colored)
(hopefully) get WinNT MPM to build using mpm_common.c code; a few notes:

. the selection of ap_sock_disable() is certainly ugly, but that may
  need to be cleaned up in a different manner...
. the directive functions couldn't be AP_DECLARE() if they are to be
  compatible with AP_INIT_TAKExxx(); this is an old restriction

Revision 90137 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 15:44:00 2001 UTC (8 years, 3 months ago) by trawick
File length: 9765 byte(s)
Diff to previous 90132 (colored)
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code

Revision 90132 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 04:57:35 2001 UTC (8 years, 3 months ago) by rbb
File length: 9675 byte(s)
Diff to previous 89749 (colored)
Begin to sanitize the MPM configuration directives.  Now, all
MPMs use the same functions for all common MPM directives.  This
should make it easier to catch all bugs in these directives once.

Everybody should check their favorite MPM to ensure that it still
compiles, and that these directives work.  This is a big patch, and
although it looks good, and things compiled for me, that is no
garauntee that it will work on all platforms.  :-)

Submitted by:	Cody Sherr <csherr@covalent.net>

Revision 89749 - (view) (annotate) - [select for diffs]
Modified Fri Jul 27 21:01:16 2001 UTC (8 years, 4 months ago) by wrowe
File length: 7924 byte(s)
Diff to previous 89612 (colored)
  Doc formatting fixes

Revision 89612 - (view) (annotate) - [select for diffs]
Modified Wed Jul 18 21:16:40 2001 UTC (8 years, 4 months ago) by gregames
File length: 7924 byte(s)
Diff to previous 89282 (colored)
fix memory leak of apr_sockaddr_t and apr_socket_t in ap_mpm_pod_signal,
called by perform_idle_server_maintenance.

allocate & init one apr_sockaddr_t for the dummy connect at pod open time.
use a temporary subpool for the apr_socket_t

Revision 89282 - (view) (annotate) - [select for diffs]
Modified Thu Jun 7 00:09:16 2001 UTC (8 years, 5 months ago) by rbb
File length: 7900 byte(s)
Diff to previous 88562 (colored)
First pass at the pipe_of_death logic for the prefork MPM.  This does
pass some initial testing, but it needs to be banged on more.  It looks
like if the server gets a lot of requests to restart all at once, there
are potential problems, but other than that this does seem to solve our
current restart issues.

Revision 88562 - (view) (annotate) - [select for diffs]
Modified Thu Mar 22 12:32:21 2001 UTC (8 years, 8 months ago) by trawick
File length: 6759 byte(s)
Diff to previous 88537 (colored)
Get rid of some warnings which crept into the Unix MPMs a
few days ago.

mpm_common.h started referencing AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES
but did not include the header file where this might be defined.

The result was no prototype for ap_reclaim_child_processes() on
platforms which needed it.

Revision 88537 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 13:07:28 2001 UTC (8 years, 8 months ago) by bjh
File length: 6686 byte(s)
Diff to previous 88531 (colored)
Declaration of ap_reclaim_child_processes() in exports.c needs to be
conditional in the same way that the function's definition is so give it a
suitable macro that will be recogized by the scripts that make exports.c.

Revision 88531 - (view) (annotate) - [select for diffs]
Modified Sat Mar 17 15:58:09 2001 UTC (8 years, 8 months ago) by ben
File length: 6638 byte(s)
Diff to previous 88455 (colored)
More doxygenation.

Revision 88455 - (view) (annotate) - [select for diffs]
Modified Mon Mar 5 20:15:15 2001 UTC (8 years, 8 months ago) by trawick
File length: 6628 byte(s)
Diff to previous 88402 (colored)
Rely on APR to determine whether or not we have netinet/tcp.h.  This test
requires a special work-around for IRIX 6.5, which will be in APR soon.
There is no need for it in Apache.

The include of netinet/tcp.h was removed from perchild.c and threaded.c.
They no longer seem to be needed there.

PR:		6459

Revision 88402 - (view) (annotate) - [select for diffs]
Modified Thu Mar 1 00:55:03 2001 UTC (8 years, 8 months ago) by gstein
File length: 6627 byte(s)
Diff to previous 88184 (colored)
Don't directly include ap_config_auto.h directly. It isn't available on
Windows platforms. Including ap_config.h will pick it up, or it will grab
the appropriate Windows header/defines.

Revision 88184 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 04:26:53 2001 UTC (8 years, 9 months ago) by fielding
File length: 6653 byte(s)
Diff to previous 88138 (colored)
Update copyright to 2001

Revision 88138 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 19:48:59 2001 UTC (8 years, 9 months ago) by stoddard
File length: 6648 byte(s)
Diff to previous 88137 (colored)
Windows doesn't have ap_config_auto. Perhaps we need a HAVE_CONFIG_AUTO
macro?

Revision 88137 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 19:22:27 2001 UTC (8 years, 9 months ago) by gregames
File length: 6627 byte(s)
Diff to previous 88103 (colored)
The "src/" directory no longer exists.  Clean up the HARD_SERVER_LIMITS
warning msg to reflect the current directory structure.

Revision 88103 - (view) (annotate) - [select for diffs]
Modified Mon Feb 12 02:49:56 2001 UTC (8 years, 9 months ago) by gstein
File length: 6634 byte(s)
Diff to previous 87755 (colored)
*) remove some obsolete/unused defines from httpd.h.
*) remove DEFAULT_XFERLOG from main.c; it is never set/used
*) move ap_get_max_daemons() to ap_mpm.h
*) move DEFAULT_LISTENBACKLOG to mpm_common.h

Revision 87755 - (view) (annotate) - [select for diffs]
Modified Sat Jan 20 06:05:15 2001 UTC (8 years, 10 months ago) by rbb
File length: 6178 byte(s)
Diff to previous 86133 (colored)
Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
mpm_common.c.  These functions are only valid on some platforms,
so they should not be in the main-line code.

These functions are also not portable to non-unix platforms, so they don't
really belong in APR.  Since they are only used in MPMs, for right now,
I am moving them to mpm_common.c

Revision 86133 - (view) (annotate) - [select for diffs]
Modified Tue Aug 22 15:09:28 2000 UTC (9 years, 3 months ago) by bjh
File length: 5725 byte(s)
Diff to previous 86008 (colored)
APRize disabling nagle (setting TCP_NODELAY).
Note that several areas have not been tested as they apply to MPMs or APR
code that I can't test.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 86008 - (view) (annotate) - [select for diffs]
Modified Sun Aug 6 06:07:53 2000 UTC (9 years, 3 months ago) by wrowe
File length: 5715 byte(s)
Diff to previous 86003 (colored)
  Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
  see src/lib/apr/apr_compat.h for most details.
  Also a few minor nits to get Win32 to build.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 86003 - (view) (annotate) - [select for diffs]
Modified Sun Aug 6 02:21:06 2000 UTC (9 years, 3 months ago) by rbb
File length: 5713 byte(s)
Diff to previous 85976 (colored)
Update the mpm_common.h file with docs to use ScanDoc

Revision 85976 - (view) (annotate) - [select for diffs]
Modified Wed Aug 2 05:27:38 2000 UTC (9 years, 3 months ago) by dougm
File length: 4010 byte(s)
Diff to previous 85894 (colored)
prefix libapr functions and types with apr_

Revision 85894 - (view) (annotate) - [select for diffs]
Modified Wed Jul 26 14:12:38 2000 UTC (9 years, 4 months ago) by trawick
File length: 4007 byte(s)
Diff to previous 85811 (colored)
Get ap_socket_disable_nagle() working again.
Submitted by:	Greg Ames
Reviewed by:	Jeff Trawick

Revision 85811 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 22:08:11 2000 UTC (9 years, 4 months ago) by rbb
File length: 3915 byte(s)
Diff to previous 85808 (colored)
Move sock_disable_nagle to mpm_common.c.  Rename it to ap_sock_disable_nagle.
Again, I tried to modify all MPMs that are currently using this code.

Revision 85808 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 18:21:24 2000 UTC (9 years, 4 months ago) by rbb
File length: 3756 byte(s)
Diff to previous 85645 (colored)
Move process_child_status to mpm_common.c.  This requires re-naming it
to ap_process_child_status and opening up ap_coredump_dir.  I have
modified all of the MPMs that I saw using this function to work with this
patch.  Sorry if I broke anybody.

Revision 85645 - (view) (annotate) - [select for diffs]
Modified Wed Jun 21 13:15:30 2000 UTC (9 years, 5 months ago) by trawick
File length: 3692 byte(s)
Diff to previous 85286 (colored)
Fix error messages issued from MPMs which explain where to change
compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).

missing: the same minor changes for the 2nd BeOS MPM

Submitted by:	Greg Ames
Reviewed by:	Jeff Trawick

Revision 85286 - (view) (annotate) - [select for diffs]
Modified Wed May 24 00:42:01 2000 UTC (9 years, 6 months ago) by rbb
File length: 3620 byte(s)
Diff to previous 85256 (colored)
Fix a memory leak with ap_wait_or_timeout.

Revision 85256 - (view) (annotate) - [select for diffs]
Added Fri May 19 07:07:39 2000 UTC (9 years, 6 months ago) by fielding
File length: 3610 byte(s)
Prototypes for the visible functions in mpm_common.c.

Submitted by:	Jeff Trawick <trawickj@bellsouth.net>
Reviewed by:	Roy Fielding

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