609c1240f4b281e05eaec25b4b0c43e796117fd4 1605946 |
|
27-Jun-2014 |
takashi |
Revert r1601943, r1602058, r1605307 (socket callback returning pollfds)
Revert r1605369 (wstunnel refactoring)
per discassion on dev@httpd.a.o thread Message-ID:
<CALK=YjN9HfThP_k_rF9iJPcUhcQk9sNOaDPxZNG+HcJNWS4ZAQ@mail.gmail.com> |
4102a740beaa5cfca0c12683fd1f754501dc325f 1601943 |
|
11-Jun-2014 |
takashi |
Socket event callback now takes pollfd.
User (e.g. mod_proxy_wstunnel) can know
which socket is ready. |
06b8f183140c8e02e0974e938a05078b511d1603 1593860 |
|
11-May-2014 |
covener |
PR56333: Add an API to resume a connection that a handler has previously suspended.
Submitted by: Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>
Committed by: covener |
259878293a997ff49f5ddfc53d3739cbdc25444e 1593857 |
|
11-May-2014 |
covener |
Extend the socket callbacks in event to allow a timeout on the I/O callback.
When a socket callback has a timeout, an associated timer event is used to
remove the sockets from the pollset and call a timeout function.
* This includes a noteworthy change to the main event loop. Previously,
we would call epoll, then process the timer events, then iterate through the
poll results. After this patch, the timer events are processed before the poll()
a _non-queued_ action can change the pollset conents (a users timed callback
function conversely could easily sit in a queue while the main thread continues
down into epoll)
* timer events can now have sockets associated with them, those sockets are
removed from the pollset when the timer event fires w/o a queue to the worker.
* timer events now have a canceled flag that can be toggled without locking
the timer list.
* Drop the severity of some wstunnel messages from DEBUG to TRACE1
* Lift the restriction on using asynchronous websockets connections but having
an idle timeout |
b7b1e240a1fe4f809e556c52ce49445a5ce4dcef 1588217 |
|
17-Apr-2014 |
trawick |
tiny doc/Doxygen improvements |
ef4e80692df0192fa015717d44db6b9096f232ca 1551854 |
|
18-Dec-2013 |
jailletc36 |
Remove useless \t and blank line that were not backported into 2.4.x in r1542557 |
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7 1546759 |
|
30-Nov-2013 |
trawick |
Add suspend_connection and resume_connection hooks to notify modules
when the thread/connection relationship changes. (Currently implemented
only for the Event MPM; should be implemented for all async MPMs.) |
89d55fe6a5e2f13c4e83a68bb4deadddf8616a8a 1513461 |
|
13-Aug-2013 |
trawick |
fix Doxygen warnings/comments |
8966f6c6e6ed032cd17d020140e0ac1329d382b6 1493741 |
|
17-Jun-2013 |
jim |
Fold in Eric Covener's socket callback |
feaa4f2158bcffa1c9dc95b34adfeaa08be6fa49 1423933 |
|
19-Dec-2012 |
fuankg |
On NetWare skip these unsupported function prototypes. |
7cc77074d12e6ed11433da96af0df1e1a27e9b3d 1409214 |
|
14-Nov-2012 |
jim |
Pull out the "extended" pod functions used by event and worker
to core, since it will be used by Simple and Lean and
likely other MPMs. Avoid duplication. |
e1d25132e1ec9ab0767c8708c302cc0e939887ea 1363035 |
|
18-Jul-2012 |
trawick |
avoid decls for some Unix-specific functions on Win32 too |
b9c7c55b3a937fa1c72239003635a321e3ef4445 1303827 |
|
22-Mar-2012 |
rpluem |
* Partly revert r1303435 and rename pconf back to in_pconf to avoid shadowing
the global variable with the same name and create a bogus assignment.
Pointed out by: Eric Covener |
2ba1586475aa4ec972ca7c19b06d53bf76f0ee7e 1303201 |
|
21-Mar-2012 |
fuankg |
Revert r1294936 (Jeff's revert) and fix NetWare / Win32 build.
Added the missing AP_DECLARE* decorations for the function
implementations and variables. |
06c00b916f98db485ab8f386ae0417e8b08a93e9 1301277 |
|
16-Mar-2012 |
trawick |
revert r1294936, which fixed MPM DSO load failures on AIX
it breaks the Netware build and was also missing the
AP_DECLARE* decorations for the function implementations and
variables |
df73d96e0c430f6cbf9df8efad49c49a4651bc57 1294936 |
|
29-Feb-2012 |
trawick |
Fix MPM DSO load failure on AIX.
Without the proper AP_DECLARE*, these functions used by MPMs
were not exported from httpd on AIX, resulting in symbol
resolution errors. |
bf6b5eb3bf3c4a71e6146d4bcd07cf1749dc6d70 1211364 |
|
07-Dec-2011 |
jorton |
* include/: Various doxy markup tweaks. |
d354c2983fc611d55dcf5d160d14c796d5143d35 1200449 |
|
10-Nov-2011 |
trawick |
end-generation hook: Fix false notification of end-of-generation for
temporary intervals with no active MPM children. |
67746e0d18eeceb247fc940148c9b4d358929643 1180681 |
|
09-Oct-2011 |
sf |
Add -D DUMP_RUN_CFG option to dump some configuration items
from the parsed (or default) config. This is useful for init scripts that
need to setup temporary directories and permissions, for example if those
temporary directories are located on a ram disk. |
a4020934748deee56685ada8e38430832151a536 1179715 |
|
06-Oct-2011 |
sf |
re-add "extern" accidentally removed by r1179448 |
a21e322a6250a12588cb0964b9a022ce76225e67 1179448 |
|
05-Oct-2011 |
sf |
Export ap_max_mem_free, needed by r1178079, as pointed out by Gregg L. Smith |
742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
925a6d92173ab96cdb0a8976c7aac13ef809e218 1096609 |
|
25-Apr-2011 |
trawick |
Add child_status hook for tracking creation/termination of MPM child
processes. Add end_generation hook for notification when the last
MPM child of a generation exits.
end_generation is implemented completely by core using the
child_status hook run by the MPM.
simple and mpmt_os2 MPMs don't currently run the child_status
hook, so neither hook is invoked with those MPMs. |
31eeb74b832eea054c7a42081c1afdeccd987e5e 1090614 |
|
09-Apr-2011 |
trawick |
Fix some MinGW build issues...
mpm_winnt.c: MinGW doesn't currently define the Windows
STACK_SIZE_PARAM_IS_A_RESERVATION symbol
mpm_unix.c: Bypass all this code on Windows (too much trouble
to keep it out of Makefile)
mpm_common.h: Skip over definitions of functions not available on
Windows to keep references out of exports.c.
PR: 49535
Submitted by: John Vandenberg <jayvdb gmail.com>
Minor tweaks by: trawick
Other commits for this PR: r1089950, r1089951, r1089954 |
133a47776e6bc3f11f3beac454e643240b675ff7 1087085 |
|
30-Mar-2011 |
trawick |
Simplify the interface to ap_reclaim_child_processes() and
ap_relieve_child_processes(): instead of requiring the MPM
to implement an otherwise-useless hook, just use a callback
function.
As I don't expect third-party MPM devs are following our day
to day progress, the API changes are considered part of
yesterday's MMN change. |
0d1331a674d82827da465dbfc5da0d6da6344816 1086953 |
|
30-Mar-2011 |
trawick |
the mpm-note-child-killed hook was just for use by
ap_{reclaim,relieve}_child_processes; those functions can
invoke the hook directly; the function ap_mpm_note_child_killed()
is useless |
8f29f672255fe76964af126f9ac8c3c864274fa0 1086293 |
|
28-Mar-2011 |
trawick |
mpm_common.c implements a handful of config directives; the
related state has to be re-initialized to the default values
at pre-config time, but that was handled inconsistently by
the MPMs, resulting in unexpected behavior when some of the
directives were removed across restart
move that necessary initialization from the MPMs to common
code run from core's pre-config; MPMs that need to override
defaults can do so by running after core's pre-config (the
NetWare MPM now does that)
the DEFAULT_MAX_REQUESTS_PER_CHILD compile setting wasn't useful
enough to keep
the simple MPM wasn't consistent in which of these directives
were respected and which weren't, and that hasn't changed
(see procmgr.max_requests_per_child vs. ap_max_requests_per_child) |
d2ec49f2892f439e22886782836124aa5eae6376 1085780 |
|
26-Mar-2011 |
trawick |
SCOREBOARD_MAINTENANCE_INTERVAL is gone, except for some local
usage within the NetWare and OS/2 MPMs. |
8ed474513545460ad41ea5155854b69bfbd3f0cf 1082250 |
|
16-Mar-2011 |
fuankg |
Added prototype for initgroups(). |
0807f6da6091b748ab47c21ba66252fe8da2a966 987806 |
|
21-Aug-2010 |
sf |
core: Abort with sensible error message if no or more than one MPM is
loaded. |
d2f2b24ad196c63257e7214b64e6a3bd947e5638 907723 |
|
08-Feb-2010 |
trawick |
change the preprocessor define ap_accept_mutex_type to upper case |
0cb6873985efbf0cc9644114925df6baa4b32d5a 903020 |
|
26-Jan-2010 |
wrowe |
Refactor mod_status out of the ExtendedStatus toggle picture, as other
modules can and should be able to use this scoreboard information.
Rename suggestions for such a directive are welcomed.
Note that mod_status toggles the default, to present the ExtendedStatus
for server operators, whenever it is loaded. Docs changes to follow. |
11f2c481e1d57bedb3f758565307501e9a2730dd 883540 |
|
24-Nov-2009 |
trawick |
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. |
c779aea0c9b7c47c2e4fd258e3f54835a849625d 830527 |
|
28-Oct-2009 |
poirier |
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 |
a5eaeb4c27e1b2b92e8d49f8f19fdaf77ce0d776 818828 |
|
25-Sep-2009 |
jim |
Hmmm... forgot git commit/dcommit. |
0da6486b1b5aa3f22bb9bd5e799a281e5113488a 818827 |
|
25-Sep-2009 |
jim |
Oops. forgot the declaration |
40965c37b2fd320093215de6c3fbd516382077ea 818825 |
|
25-Sep-2009 |
jim |
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. |
ff32c2e8bb4918d83fdad1182dcc26eeb88d28a5 762127 |
|
05-Apr-2009 |
trawick |
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 |
badbab787974c883f2fff0341b4b249bbf6d57a2 760864 |
|
01-Apr-2009 |
trawick |
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 |
66b7d26b8c3164ddd1cd1ee1d0bec6cd5780301b 759757 |
|
29-Mar-2009 |
trawick |
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 |
5bdb75872b593fb8f8bc7208809d609a1e373ce7 759172 |
|
27-Mar-2009 |
trawick |
change commentary to note MPM API changes: MPM_ macros to mpm_ hooks |
fda1a61aacb6950953b7393b845b0639d8e87359 758944 |
|
27-Mar-2009 |
trawick |
axe unmaintained 1.3-era code to support AUX, SunOS, IRIX, Next, Tandem, MPE,
LynxOS, QNX, and UnixWare |
eacb724157bafd5062590305826ebc6fecb48cd2 758936 |
|
27-Mar-2009 |
trawick |
remove TPF support |
a96f477774c960ff59a3741f5f43e8fff90b9412 758671 |
|
26-Mar-2009 |
trawick |
axe the unnecessary AP_MPM_HARD_LIMITS_FILE |
03374715fc64beb9054daf9990b919da735835eb 758371 |
|
25-Mar-2009 |
wrowe |
no longer conditional; although some are now in mpm_unix.c |
aae6ae5e5557b23552f5771aa385c5b6bb203229 758312 |
|
25-Mar-2009 |
trawick |
resurrect the old (pre-r757867) compiled-in MPM_NAME value, but via a hook for dynamically
linked MPMs |
44c67e99b79c97d90b4220fae64a423217f98dbb 758229 |
|
25-Mar-2009 |
trawick |
dangling semis lead to warnings with Sun Studio |
34389890928d9fc27b2529aefefacd2e92773458 758226 |
|
25-Mar-2009 |
trawick |
fix inconsistent defs of ap_mpm_note_child_killed() |
1e08691451a38410b81c55c40fe8555101443f50 758014 |
|
24-Mar-2009 |
trawick |
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) |
dd028aa8111afb6534fece555e8c2d408894671e 757853 |
|
24-Mar-2009 |
trawick |
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 |
a91a59d0b0ceed7cd5621fe8757eda5ff6a043a8 722399 |
|
02-Dec-2008 |
pquerna |
API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix. |
04fe54ed95fb0a3a1c4bce015893b8c6444f3322 710037 |
|
03-Nov-2008 |
niq |
Wrap the global count of privileges handlers operating. Silence grumblers. |
70519fd54cbaeb17f04ef45be265093e9a84b649 709993 |
|
03-Nov-2008 |
niq |
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! |
f47c690c6fa01fa4334306be872da72fb9a3cdad 553013 |
|
04-Jul-2007 |
sctemme |
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. |
5d4512d8c3a70094ff3e941667007a42925f73e2 551843 |
|
29-Jun-2007 |
jorton |
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. |
d9b12166875edee8979f2bd4ad3927e4ed7fdc4b 551835 |
|
29-Jun-2007 |
jorton |
Revert r547987 ("svn merge -c -547987 .") |
a37803b5c687c0bfb99e49bd4b030fb40812774d 547987 |
|
16-Jun-2007 |
jim |
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. |
67139e2d50d1e11558d87f7042f61cb04bb0d1d2 467326 |
|
24-Oct-2006 |
jim |
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. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
b5435778a96719686b741361cd52af2f3ed3f8e8 264104 |
|
29-Aug-2005 |
colm |
*how* did I mis-spell that. |
00a9373468bf0622b0dfa823374a8543eab5df55 264103 |
|
29-Aug-2005 |
colm |
Move the "GracefulShutdownTimeout" command definition into mpm_common |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
1bb5a38299d7392411c6f7051ee36b75d5b5d81c 240465 |
|
28-Aug-2005 |
colm |
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. |
09fe36356e0ba563c84f86f53a7cd9ba43f6ea9f 240296 |
|
26-Aug-2005 |
colm |
Move the "GracefulShutdownTimeout" directive into mpm_common, for re-use
with other MPM's. |
9a662283654d8e7f40bbc23a43a5c1551c773848 240274 |
|
26-Aug-2005 |
colm |
Silly me, I forgot to commit this; the definitions for the GRACEFUL_STOP
signal. |
7b621044ee03c0c140c2ba6fdab7d2dfdb2b9f4a 239430 |
|
23-Aug-2005 |
colm |
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. |
59c6d01d3ab461909e81b6e025b1af2c69e35255 188846 |
|
07-Jun-2005 |
niq |
Add monitor hook (discussed under "watchdog" thread). |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
c169c5f94d61a860f3110c5d29a9fb306e762c11 109510 |
|
02-Dec-2004 |
trawick |
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.) |
af8dee354a287249dd9f3f77bbe850108e5afe43 102975 |
|
16-Mar-2004 |
trawick |
use existing directive name ThreadStackSize instead of
WorkerStackSize
as made obvious by: Brad Nicholes |
14763a0db22322626dd8cd59dfbc3a4fcc655d99 102931 |
|
11-Mar-2004 |
trawick |
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. |
c743534f17454db84e6b8d3bf9e99824ab6fd58f 102869 |
|
06-Mar-2004 |
jorton |
* 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 |
65eb4ff7f436c894b9fee6a2f86f291e9778c7ce 102686 |
|
19-Feb-2004 |
trawick |
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. |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
a29b6dffea8320685566bcd38a48ce91ef861dee 99312 |
|
09-Apr-2003 |
trawick |
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 |
4ac3e76f96ca3a5d0f67ae5cbe637c18f7280458 98908 |
|
06-Mar-2003 |
gregames |
Linux 2.4+: enable coredumps when Apache is started as root if
CoreDumpDirectory is explicitly coded |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
21c89fcc8c46c0de5719b9854f95c579ebceed3f 95958 |
|
05-Jul-2002 |
brianp |
fix ap_mpm_set_max_mem_free declaration to match mpm_common.c |
cd10ed0019cee79baf385cfbe64485f2b9070ea0 95957 |
|
04-Jul-2002 |
brianp |
Add missing declarations of the new max_mem_free stuff
so prefork will compile |
9f7325ecad575cf77ab76b01beaaf339a63490b5 95237 |
|
23-May-2002 |
trawick |
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. |
b27253618774535db52fee5a83e5f1ee6db33689 94309 |
|
29-Mar-2002 |
jim |
Syncing makes no sense now |
836d6aa72d33f9bfc8e277577824d4103fc10173 94062 |
|
20-Mar-2002 |
jim |
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: |
b4e4d76bf454e1b603b410110356dbcf12f3bc42 94055 |
|
20-Mar-2002 |
jim |
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: |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
ec11f04142e6d28dcd60b5f3132bcbeea7f54dc4 92774 |
|
08-Jan-2002 |
bnicholes |
Added the #ifdef's to the prototypes to match the corresponding source code |
612b906e8dd17ebb1704b6663caf5d9ab321f971 92653 |
|
30-Dec-2001 |
trawick |
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() |
5ad238c42b1e159ee8f164515e0c4ee6c727c2fd 92019 |
|
17-Nov-2001 |
trawick |
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. |
022cff78006f698453640e0a0e97cc5f8c9de59d 91648 |
|
23-Oct-2001 |
rbb |
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 |
00b8146bf5d1f543ce19917c6b4fe252d33baf79 90153 |
|
14-Aug-2001 |
trawick |
namespace-protect accept_lock_mech
fix a bug in the worker MPM which effectively disabled the AcceptMutex
directive |
be8081f031f7a87942f7dcba9920cdfcf098f2c8 90141 |
|
13-Aug-2001 |
trawick |
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 |
73170da9b1add3e07decbf4beb675d872c2509af 90138 |
|
13-Aug-2001 |
trawick |
(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 |
46102c57fc6ebc39c70057e071d59dd70d7a86e2 90137 |
|
13-Aug-2001 |
trawick |
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code |
7b4c4bb891261e613de39a021d7554fd08132fc5 90132 |
|
13-Aug-2001 |
rbb |
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> |
346029f34d03eb20d84fc35664426d3874b00f9e 89749 |
|
27-Jul-2001 |
wrowe |
Doc formatting fixes |
f123a9a8362e4e49aa60c6bac0f2f1127e62474f 89612 |
|
18-Jul-2001 |
gregames |
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 |
55d986c77300fd39420b41f765b08c15b4c6418d 89282 |
|
07-Jun-2001 |
rbb |
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. |
11cb1bcc5266c1ee20da39f8e03315d4372eae41 88562 |
|
22-Mar-2001 |
trawick |
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. |
fea3625adece15d099bfec089f056426df1a98fb 88537 |
|
19-Mar-2001 |
bjh |
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. |
0e26447b7de129241ee60331f51b17f0cdf19825 88531 |
|
17-Mar-2001 |
ben |
More doxygenation. |
58e3cdfc5e9ee0101694e9ac9134eecdfc0f20e7 88455 |
|
05-Mar-2001 |
trawick |
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 |
e33b627b40578d0166fdb79ce0487f9e46586bef 88402 |
|
01-Mar-2001 |
gstein |
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. |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
e0bb650ee55f27aa0e6bb2a6ba2c7900e340f743 88138 |
|
13-Feb-2001 |
stoddard |
Windows doesn't have ap_config_auto. Perhaps we need a HAVE_CONFIG_AUTO
macro? |
f1fa91319d3ac659a069ab2f416d75574ce9e7f6 88137 |
|
13-Feb-2001 |
gregames |
The "src/" directory no longer exists. Clean up the HARD_SERVER_LIMITS
warning msg to reflect the current directory structure. |
7c7372abe2484e7fcf81937b93496d1246e5b816 88103 |
|
12-Feb-2001 |
gstein |
*) 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 |
a1e0709c89175c34a3f72eb4a83d7ee1621a0884 87755 |
|
20-Jan-2001 |
rbb |
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 |
524ad1e9f859b1cc54590bdf0045855993b6a524 86133 |
|
22-Aug-2000 |
bjh |
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: |
10a4cdd68ef1ca0e54af296fe1d08ac00150c90b 86008 |
|
06-Aug-2000 |
wrowe |
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: |
54c02a7f3737027ad8820922f7ec2cd8a7439374 86003 |
|
06-Aug-2000 |
rbb |
Update the mpm_common.h file with docs to use ScanDoc |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
3fab8cfc6ce3a0f8f178cc4af9b9627cfee601e3 85894 |
|
26-Jul-2000 |
trawick |
Get ap_socket_disable_nagle() working again.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick |
57171f99f3ffb37c298355815d6d9b7cef76a985 85811 |
|
11-Jul-2000 |
rbb |
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. |
9b07fdbae72923016406bb66e2875e3324722a6f 85808 |
|
10-Jul-2000 |
rbb |
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. |
40a4fa05efec54cc23f9f12272b3f204e746c0ed 85645 |
|
21-Jun-2000 |
trawick |
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 |
b45d23f6447d0ef66da0c335a2e450f013819b5a 85286 |
|
24-May-2000 |
rbb |
Fix a memory leak with ap_wait_or_timeout. |
5ac15955931e5c028452b5b16f09aec7e5a50b4c 85256 |
|
19-May-2000 |
fielding |
Prototypes for the visible functions in mpm_common.c.
Submitted by: Jeff Trawick <trawickj@bellsouth.net>
Reviewed by: Roy Fielding |