60f145444e00399b806c6e1329689ae57603a664 1629909 |
|
07-Oct-2014 |
ylavic |
core: Use process scoreboard to store each child's listener bucket,
and silently adjust the configured number of processes/threads to
be above the computed number of listener buckets (depending on the
CPU cores). |
95e04bdfdb8fbb70158afd18bbf0acc340615d65 1610491 |
|
14-Jul-2014 |
jorton |
SECURITY (CVE-2014-0226): Fix a race condition in scoreboard handling,
which could lead to a heap buffer overflow. Thanks to Marek Kroemeke
working with HP's Zero Day Initiative for reporting this.
* include/scoreboard.h: Add ap_copy_scoreboard_worker.
* server/scoreboard.c (ap_copy_scoreboard_worker): New function.
* modules/generators/mod_status.c (status_handler): Use it.
* modules/lua/lua_request.c (lua_ap_scoreboard_worker): Likewise.
Reviewed by: trawick, jorton, covener, jim
Submitted by: jorton, covener |
77ca16c5676da23155311e13cee61e7eaba9fa3e 1519556 |
|
03-Sep-2013 |
jailletc36 |
mod_status, mod_echo: Fix the display of client addresses. They were truncated to 31 characters which is not enough for IPv6 addresses.
PR 54848 [Bernhard Schmidt <berni birkenwald de>] |
8232302b6fc415a7ef743b65754f7d4240a5a95a 1369477 |
|
04-Aug-2012 |
trawick |
core: Respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR for the
scoreboard (ScoreBoardFile). |
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. |
2442138a532cd02b4cea4794a5bddbd6992159d6 1230065 |
|
11-Jan-2012 |
jorton |
SECURITY (CVE-2012-0031): Fix possible crash on shutdown if a child
changes the sb_type field in the scoreboard. Since unprivileged
children should not be able to affect the parent in this way, this is
treated as a Low severity security issue.
Thanks to "halfdog" <me halfdog.net> for reporting this issue.
* include/scoreboard.h (global_score): Remove sb_type field.
* include/ap_mmn.h: Bump MMN for above.
* server/scoreboard.c (ap_cleanup_scoreboard, ap_create_scoreboard):
Use a static global to store store the scoreboard type. |
11e076839c8d5a82d55e710194d0daac51390dbd 1174929 |
|
23-Sep-2011 |
sf |
More cleanup: Expand tabs and some more indentation fixes
No functional change |
742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48 1137358 |
|
19-Jun-2011 |
sf |
Some improvements for handling of many connections for MPM event:
- Process lingering close asynchronously instead of tying up worker threads
(based on patch by Jeff Trawick).
- If the number of connections of a process is above
threads_per_child + WORKER_OVERCOMMIT * (idle_workers - 1)
(WORKER_OVERCOMMIT is fixed at 2, at the moment), or if all workers are busy,
don't accept new connections in that process. Such a dynamic connection limit
is necessary because we may have both async and non-async (ssl) connections.
WORKER_OVERCOMMIT should be a config option.
- Don't count idle workers of not-accepting processes against MinSpareThreads,
so that the parent will spawn new processes when necessary.
- If we receive a keep-alive request while all workers are busy, don't block
but close the connection immediately so that the client will re-connect to a
different process.
Related changes:
- Log what is going on at trace loglevels.
- Remove the bypass_push poll type flag, this code cannot be hit anymore
(if it ever could?).
- Add some macro helpers for dealing with timeout queues. |
12b170a812f740fafc96da32a188a8b2761a3d5c 1101067 |
|
09-May-2011 |
jim |
Cleanup... most don't need apr_hooks.h at all... |
2f1146e06a1bfa371573a3f3fb0379448e18aaed 1058622 |
|
13-Jan-2011 |
jim |
OK... a good commit point (we don't quite compile yet though...)
Pull out the worker scoreboard cruft and start moving most
worker stuff to shm. Use slotmem for workers and provide
space for growth.
Redo logic:
ap_proxy_define_*
ap_proxy_create_*
ap_proxy_initialize_*
Right now just for workers, but lay framework for balancers
as well. The idea is to break out the functional parts
to make it easy for dynamics. Defining is simply describing
the worker, and tucking that info away. When we create, we
go ahead and create the shared memory, etc... Initialize
is simply to allow child process to access the shm... |
78b8e4dd910f03af0a602bc4b63ad7bc69868ee3 959464 |
|
01-Jul-2010 |
sf |
re-order many struct members for better alignment on 64bit |
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. |
35b7c56e79a9e7288ba4b3a146d463df816c9538 831944 |
|
02-Nov-2009 |
trawick |
remove declaration for ap_my_generation, which was replaced with the
AP_MPMQ_GENERATION query in r757853 |
e0ea71c9bab221ba934db64b522ef95e422739c6 821307 |
|
03-Oct-2009 |
jim |
Provide new ap_update_child_status_from_conn() mostly
for use with mod_noloris.c Add some logic protection, for
NULL ref, which shoulda be there in any case. |
eacb724157bafd5062590305826ebc6fecb48cd2 758936 |
|
27-Mar-2009 |
trawick |
remove TPF support |
7628ac61de116c6829aab323d4581a4cdd7a9afd 726118 |
|
12-Dec-2008 |
chrisd |
Remove unused sb_type member from process_score structure and
do major MMN bump. The sb_type field was added in r89115 but not
removed in r89554 along with related unused additions.
Submitted by: Torsten Foertsch <torsten.foertsch@gmx.net> |
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. |
936a4025e45887d9f366bf54360c51937b6bcace 590641 |
|
31-Oct-2007 |
jim |
Add in SeeRequestTail directive, to handle the shortcoming
of only storing 63 bytes of the request, when the requests
are longer than that and only vary towards the end; eg:
GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/apples.jpg
GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/pears.jpg
GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/plums.jpg |
b3f35d19d9da0e27a553916606bfd141f8a34239 590122 |
|
30-Oct-2007 |
bnicholes |
The function ap_time_process_request() needs to be declared appropriately if it is going to be used externally (now being called by mod_echo) |
a72ba68ecbbc61e4b513e50d6000245c33f753dc 587770 |
|
24-Oct-2007 |
wrowe |
MMN major bump required; this API is altogether inconsistent, transparent
types should be opaque, opaque types should be transparent.
Solve one aspect, follow the _by_indexes() example for ap_get_scoreboard_worker
family of functions, and the primary one will now accept the abstracted conn_rec
value of sbh to find that connections slot. |
7a3f81622e6b6995e0e879b1c0279ba68130b4b1 574843 |
|
12-Sep-2007 |
jfclere |
lb_score is bigger proxy_worker_stat. Prevent wasting space. |
4af9a477bc241fdea06bdac0dae42782fbd3c96e 574270 |
|
10-Sep-2007 |
jim |
Yeah. Good luck with that. |
b635005244526aa1031cbb2f374ef536aebcbbab 574269 |
|
10-Sep-2007 |
jim |
Maintain the illusion. It's not worth my time or
energy to care about this anymore. |
2a0232732978734e07c225f65742a36392ca208f 573569 |
|
07-Sep-2007 |
jim |
Reinstate the lb_score patch, but, protect against
conflicting leakage as per jfc proposal. |
a61964b4035f7259af9361de20b2bce1e71616a8 573555 |
|
07-Sep-2007 |
jim |
semi-revert 573264. It is totally bogus that we
need to do this, but until we create mod_proxy_structs.h
which can then be included by mod_proxy.h as well as scoreboard.h,
we'll make do. |
54d5be2385eef31d3a8cd7a3fdc486260a18f1c7 573264 |
|
06-Sep-2007 |
jim |
lb_score *is* proxy_worker_stat... no need to "mask" that
or use wasted space. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
6da0b72f9650a66ae273844a3d9ae941bc20d89b 404849 |
|
07-May-2006 |
niq |
Tidy up scoreboard.h (Chris Darroch) |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
36c8049de63c446926139936c3d195330a0539ce 156274 |
|
05-Mar-2005 |
trawick |
worker MPM/mod_status: Support per-worker tracking of pid and
generation in the scoreboard so that mod_status can accurately
represent workers in processes which are gracefully terminating.
New child processes with worker MPM can take over slots of
individual threads within gracefully terminating processes.
Sometimes this is a problem (too many of these gracefully
terminating processes), so it is helpful to have mod_status
provide the information required to recognize these processes. |
179a355e3801a2c2e0a895964cf39488bac3c9cc 154216 |
|
18-Feb-2005 |
wrowe |
Fix some symbols which should -not- be exported, and decorate real_exit_code
with ap_ (this symbol must be exported.) If the others were desired to be
public, they should have been ap_xxx decorated. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
8e61fed2dadbdfc73ad0ec346b95de52c26ff779 149550 |
|
02-Feb-2005 |
jim |
Keep track of time taken to process requests again. |
aecb17a45c6d3ee4729ed5f68dc4270f211ee7a8 105572 |
|
24-Oct-2004 |
fielding |
veto and revert win64 patch: 64bit changes must percolate from the
bottom (APR/system) up -- we can't give the client a 64bit API and
then cast it to 32bits internally without introducing security holes
on other platforms. |
666d616b7986a83bb0eac453694fbf4d6f05b98c 105545 |
|
22-Oct-2004 |
ake |
WIN64: API changes to clean up Windows 64bit compile warnings |
1f103590bc60f6112d3cbb9158ea43afd5b7c94b 105134 |
|
15-Sep-2004 |
mturk |
Worker shared data has to be visible across all child processes,
so remove creating that data on per-child basis. |
382c16dacb92d5820ff0c292ddcd415af89675fa 104409 |
|
29-Jul-2004 |
minfrin |
Improve binary compatiblity. This fix was requested of me before it was committed, but it went in anyway - my bad :(
PR:
Obtained from:
Submitted by: Mladen Turk <mturk@apache.org>
Reviewed by: |
1551c2366551d7a361bedbf7ae54f1abd74ef822 104404 |
|
29-Jul-2004 |
minfrin |
Add load balancer support to the scoreboard in preparation for
load balancing support in mod_proxy.
PR:
Obtained from:
Submitted by: Mladen Turk <mturk@apache.org>
Reviewed by: |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
497c60d05c62d2e4a37b0a0c002f62cd5824b4e3 102548 |
|
07-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
b27253618774535db52fee5a83e5f1ee6db33689 94309 |
|
29-Mar-2002 |
jim |
Syncing makes no sense now |
c5fdaba2e790a0a351d796b5fe3dcfb585be1ba2 94306 |
|
29-Mar-2002 |
jim |
The old, legacy (and unused) code in which the scoreboard was totally
and completely contained in a file (SCOREBOARD_FILE) has been
removed. This does not affect scoreboards which are *mapped* to
files using named-shared-memory at all. This implies that scoreboards
must be based, at some level, on native shared memory (mmap, shm_open,
shmget, whatever), but the code has assumed that for quite awhile
now. Having the scoreboard be *based* on a file makes no sense today.
PR:
Obtained from:
Submitted by:
Reviewed by: |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
584934876c0629dc4615202715e59c541f807127 93590 |
|
27-Feb-2002 |
dougm |
ap_calc_scoreboard_size() needs to be exported for win32 |
bf5cf58cc30750e9f9764cc830aff426ced288f9 93523 |
|
21-Feb-2002 |
aaron |
Placing the thread-limit and server-limit values, those which define the
size of internal structures in the scoreboard, actually into the
scoreboard allow third-party applications to access those structures.
Submitted by: Adam Sussman <myddryn@vishnu.vidya.com>
Reviewed by: Aaron Bannert |
e37c657172940f82d9b28a45fc1304140eb0b1d7 93502 |
|
19-Feb-2002 |
stoddard |
This fixes a bug in mod_status on Windows where restart time was not
properly initialized.
Move ap_restart_time into the scoreboard global area so the child process
on non-forking platforms can have access to it. |
2f1be60b7ec2d3bbb5515d34754ba5cfe65fdef7 93434 |
|
15-Feb-2002 |
aaron |
Implement new ScoreBoardFile directive logic. This affects how we
create the scoreboard's shared memory segment. We now have the best of
both worlds:
if config specifies ScoreBoardFile
create name-based shared memory, errors are fatal
else /* we get to choose */
create anonymous shared memory
if ENOTIMPL
create name-based shared memory from DEFAULT_SCOREBOARD
else
errors are fatal
This gives us the flexibility to have anonymous shared memory (on platforms
that support it) as well as name-based shared memory when third-party
programs want access to our scoreboard.
The ap_scoreboard_fname static variable is now owned by the scoreboard.c
file, and no longer by the MPMs. The MPMs MUST NOT set ap_scoreboard_fname
to a default, since that will override the default creation logic and
only allow name-based segments.
Submitted by: Aaron Bannert
Reviewed by: Justin Erenkrantz |
169be500e5f4a70c6f299888f37f348803811b07 93119 |
|
30-Jan-2002 |
rbb |
Change the Windows MPM to only use the pre_mpm phase in the parent process.
The child processes use the child_init phase to reattach to the shared
memory. This makes Windows work like Unix, which should make it easier
for module authors to write portable modules. |
7a95e47ff0d0e4306df0901d56131b49dca5691e 93055 |
|
28-Jan-2002 |
trawick |
fix the problem where a scoreboard init failure could leave
mod_cgid stranded
a pre_mpm hook can now return failures, so problems in
ap_create_scoreboard percolate back to a place where Apache
can exit cleanly |
26dfa083a1662d57ba7cc410eec4e0696b9be469 92791 |
|
10-Jan-2002 |
wrowe |
This patch eliminated from the _SHARED_ segment of the scoreboard all
pointer math. This is required for portable scoreboards.
vhost becomes the 'vhost name string' so it now survives ap_generation
clicks. next was apparently never used.
This patch also accounts for the changes to the apr_shm api, and gives
Win32 the magic of a shared scoreboard.
Breakage aplenty on non-win32 platforms, I suspect, but this radical
surgery, and culling of unused functions, was really, really needed. |
0b34ad9a705c62a86007e2fc88c13adf2671cc27 92661 |
|
30-Dec-2001 |
bjh |
Make calc_scoreboard_size() and init_scoreboard() usable from MPMs. |
577c9a5040351bb9c7c68d7b90e1a786529a4e36 92650 |
|
29-Dec-2001 |
trawick |
tiny cleanup to remove bogus SCOREBOARD_SIZE define |
ca47a2b6bcea23e8af185c68f256dcbbfd2a0f9d 92512 |
|
18-Dec-2001 |
trawick |
Change core code to allow an MPM to set hard thread/server
limits at startup. |
a97a40fb569d4cd38382aef8ca1910c041935733 92385 |
|
07-Dec-2001 |
wrowe |
AFAICT - these symbols are unused.
The right solution, once required, is to wrap the FRAMING requirement
into the mmap logic so we can always ask for a n byte mmap, only to be
given a n + (pg - (n % pg)) byte region without consumer hassles. |
c2dee9d7d94c032b0ad1b110b5517fb85a4ef39e 92377 |
|
07-Dec-2001 |
aaron |
Provide an accessor function for the global_score portion of the scoreboard.
Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert |
3ecb7fd34056ea57c5f237d5f89f7d10fea059dd 92375 |
|
07-Dec-2001 |
aaron |
Export ap_get_parent_scoreboard and ap_get_servers_scoreboard to be
usable on Win32 and friends.
Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert |
e2e8d04fc5b138601ad601aced1bc87f9b1d9424 89857 |
|
01-Aug-2001 |
wrowe |
Thanks Jerry, this was forgotten in my tree. |
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ff 89761 |
|
29-Jul-2001 |
gregames |
Fix a problem where the threaded MPM stalls after restarts or segfaults.
Also prevent multiple active processes from using the same scoreboard slot. |
11a7b0dff22d26770b532c174d1cf2e7b56ec244 89727 |
|
26-Jul-2001 |
wrowe |
Change the length of the content args to apr_off_t identifiers, and fix
mod_negotation to treat a size of -1 and indeterminate, instead of 0. |
6f653d2f410fddf6a9e31a72b9ecef340dbc9e82 89610 |
|
18-Jul-2001 |
wrowe |
Remainder of Win32 ap_create_scoreboard fooness |
65db4f712167a3498de73cee5c08032a8aa6a010 89608 |
|
18-Jul-2001 |
rbb |
Make scoreboard creation a hook. This allows management
modules to have access to the scoreboard at the time that it is
created, and at every restart request.
Submitted by: Cody Sherr <csherr@covalent.net>
Reviewed by: Ryan Bloom |
30284841436ed073aa985c312a937662ab9e9cbb 89554 |
|
16-Jul-2001 |
rbb |
Remove a couple fields from the scoreboard that aren't currently used.
If we need these, they should be added when we begin to use them. |
ec020ca384efb30d501a5af796ddc3bb237d7b8f 89542 |
|
12-Jul-2001 |
gregames |
scratch an old itch - give lingering close its own state in the scoreboard.
clean up SERVER_ACCEPTING and SERVER_QUEUEING (never set) while I'm at it. |
3b8937baf1826c625c1ca90d220453a5e4b499ed 89532 |
|
10-Jul-2001 |
rbb |
Add two functions to allow modules to access random parts of the
scoreboard. This allows modules compiled for one MPM to access the
scoreboard, even if it the server was compiled for another MPM.
Submitted by: Harrie Hazewinkel <harrie@covalent.net> |
38bdd984873c6293e6651dbac48884442b5842a9 89326 |
|
10-Jun-2001 |
wrowe |
Was certain I had committed this. Position the scoreboard members such
that the size and members can be derrived by the most stable elements,
followed by derived elements. [Harrie Hazewinkel] |
be4281a5cf84c5fcf40a49910422b2eb20bf0f26 89117 |
|
15-May-2001 |
rederpj |
Ooops. Didn't remove *all* of the new_scoreboard stuff. This was harmless,
but should be consistent and complete. It is now completely removed. |
aa616c3b5a4aa59867472cddf7d8e63693808f0e 89115 |
|
15-May-2001 |
rederpj |
Make first phase changes to the scoreboard data structures in
preparation for the rewriting of the scoreboard per my posted
design notes. [Paul J. Reder] |
0f113d7123e8bd3e3e2e9b6373461a1a773bfcca 89048 |
|
07-May-2001 |
trawick |
minor scoreboard/status improvements:
. get the SS field in extended status output formatted correctly
(seconds since beginning of request shouldn't be a huge
negative number :) )
. use APR_OS_PID_T_FMT and pid_t where appropriate in mod_status
to avoid casting, some of which may have been broken on some
architectures |
0a0e76c6dbfb4f8de85c2507871684ab8bee7102 89047 |
|
07-May-2001 |
trawick |
Get rid of some Apache 1.x OPTIMIZE_TIMEOUTS cruft. Other logic
in 1.3 which used this stuff would send SIGALRM to children in
certain circumstances. |
a7d24462734bb8a75340a5e119da23cbc62f3466 88924 |
|
24-Apr-2001 |
gregames |
back out my quiesce limit change altogether from the threaded mpm until it
learns how to go away nicely (shouldn't be too bad actually :-) |
357b3c68d77f4187bf6be49c248b90ba50b98f4a 88913 |
|
23-Apr-2001 |
gregames |
Limit the threaded mpm to quiescing one process at a time.
This is to fix a problem where the scoreboard is filled with
quiescing processes and no working processes can start, triggered by
MaxRequestsPerChild. perform_idle_server_maintenance could theoretically
cause it as well. |
ce03576b2434cec77f2921db9d5b6a0510581c23 88741 |
|
06-Apr-2001 |
rederpj |
Changes required to make prefork clean up idle children properly. There was a window during which a starting worker deadlocks when an idle cleanup arrives before it completes init. Apache then keeps trying to cleanup the same deadlocked worker forever (until higher pids come along, but it still will never reduce below the deadlocked pid). Thus the number of children would not reduce to the correct idle level. |
0e4249c46439b33a7f18e1a0c0354d49879b14eb 88296 |
|
24-Feb-2001 |
gstein |
clean out some old crud from ap_config.h |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
3c25660b5bd894a57a90a8fb78d47e2c489ba581 88151 |
|
14-Feb-2001 |
stoddard |
Start getting extended status working again. |
d67cd7ec1d8798341286a656a7da90ddc624e372 88037 |
|
09-Feb-2001 |
stoddard |
Replace reinit_scoreboard with ap_create_scoreboard. |
4f4b6637c352eb3c7a68af81558d65aaff7c54e1 88027 |
|
09-Feb-2001 |
stoddard |
Fix windows compile break |
00af9a92477ba3a9f27d19bd4feba7739c6b3850 88014 |
|
08-Feb-2001 |
bjh |
Move OS/2 MPM specific variables out of scoreboard & into an array local to
the MPM. |
6bcee6b60a2fc4c96328af30e79bad4927ff30f3 88012 |
|
07-Feb-2001 |
rbb |
Get the Unix MPMs restarting again. If we are going to register a cleanup
for ap_cleanup_scoreboard, then we have to kill that cleanup with the same
function. This also makes ap_cleanup_scoreboard a non-static function, and
makes ap_cleanup_shared_mem a static function. |
63967816845325ba085d2007cf47844fab0fb7d2 88001 |
|
07-Feb-2001 |
bjh |
Don't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Instead, make the MPM type defined before including scoreboard.h.
PR:
Obtained from:
Submitted by:
Reviewed by: |
d4e531a9b389bcb9266555445b11bcfcf6d60bff 87997 |
|
06-Feb-2001 |
trawick |
get Unix MPMs to build again after recent scoreboard changes |
a95d26c04471ed0f87959d1d1697aabc1ec6af52 87989 |
|
06-Feb-2001 |
bjh |
Get OS/2 MPM running again after the reunification of the scoreboard code.
mod_status still doesn't work right, I'll look into that next. |
5a58a10705b7b154b53294e0c0283d64eabdcb7f 87959 |
|
02-Feb-2001 |
stoddard |
Begin restructuring scoreboard code to enable adding back in
the ability to use IPC other than shared memory.
Get mod_status working on Windows again.
Still to do:
Rename some of the function APIs. Replace all calls to reinit_scoreboard with
ap_create_scoreboard. Add back in support for scoreboard files. |
0e3aab5dd979e93fd755bee170b2438683e82521 87956 |
|
02-Feb-2001 |
trawick |
avoid duplicate symbol warnings on some platforms (e.g., AIX) |
dd6c2b6a1c20c2d0fef568e694be8d8cad669c0e 87954 |
|
02-Feb-2001 |
stoddard |
Remove duplicate function declaration |
3568de757bac0b47256647504c186d17ca272f85 87949 |
|
01-Feb-2001 |
rbb |
Bring mod_status for 2.0 back in line with mod_status for 1.3. This is
basically a straight port of the 1.3 module to 2.0. The MPMs need to be
modified a bit to work with mod_status, but prefork, mpmt_pthread, and
dexter have already been changed. I will fix perchild tonight. There
is a lot of common code that can be abstracted, and there seems to be a
small bug with regard to what mpmt_pthread and dexter report as current
connections. ExtendedStatus does work again, although until the bug
mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter.
Next week, I will look at allowing other modules to add data to the
STATUS page and possibly to the scoreboard itself. |