e906ff43f0403fd06a97beacd9be280225851f64 1672453 |
|
09-Apr-2015 |
rjung |
Followon to r1671396: add misiing newline in
new server-status output. |
8c9b9f387eb9ffed391879978a9d1435517572d1 1672289 |
|
09-Apr-2015 |
rjung |
Followon to r1671396:
Remove unwanted redundant output introduced
by that commit. |
2c97595f261f948272b6ac1feb89ad3fd5ab02b6 1671396 |
|
05-Apr-2015 |
rjung |
Add more data to "?auto" view of server-status.
Although mod_status source code calls this the
"short_report", the docs and the API flag call
it "Machine Readable" resp. "STAT_OPT_AUTO".
So IMHO the data shown should be on par with
the html version. |
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 |
c96bab2ce71bdf8e8b0e0e617ab5f2074ab6e3ee 1450998 |
|
27-Feb-2013 |
jim |
this is broken... pull out |
36f5cd02b820ec5fef198c08bf29a76b53700181 1448171 |
|
20-Feb-2013 |
jim |
This is useful info for mod_status ;) |
59fb0d4886ef07a988ff2bc1c254b6717bfc6b58 1417529 |
|
05-Dec-2012 |
jim |
Add useful mod_status info... try to determine last time
a specific vhost was accessed/used. |
dcd19776e8e3d73519ffb0201d6dfea67f0aeb3e 1413732 |
|
26-Nov-2012 |
jim |
CVE-2012-3499 and CVE-2012-4558
Be sure to escape potential troubled strings |
83df3fbb3f37cf5337c8793b4559392a672e0696 1389564 |
|
24-Sep-2012 |
jim |
Break out loadavg from Apache load.... one is quick, the other
isn't so much, and so why load things up when wanting just
the server loadavg? |
55d39664d566ef2fe0c97dab0ec4d91416cf7541 1389506 |
|
24-Sep-2012 |
jim |
minor name change, but I expect most will just want/need/use
the current load average, so simplify the name |
89da6eb70c41422a20e5f871dbf5950140d128ab 1389481 |
|
24-Sep-2012 |
jim |
Would be nice to have some sort of canonical definition
of server loading for Apache. So create a struct that
holds some useful data. The hope is that for those
platforms that lack getloadavg(), people will write
replacements. |
ee3abe0378785ceef4780586ca309ef2ef60f431 1369904 |
|
06-Aug-2012 |
trawick |
follow-on to r1097070:
axe unnecessary trailing comma |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
3fa816e4832a1c70600bdfd6fc5ef60e9f1c18bb 1137744 |
|
20-Jun-2011 |
sf |
Rename MaxClients to MaxRequestWorkers which describes more accurately what
it does. |
e2de0e939faab767454a164c7d2e8ea710fd1a26 1137413 |
|
19-Jun-2011 |
sf |
Code cleanup: replace apr_table_set with non-copying apr_table_setn
in a few places
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> |
49aa87d735a13ae3d04012ee0df91ddb51f7c36e 1137360 |
|
19-Jun-2011 |
sf |
Display information about asynchronous connections in the server-status
PR: 44377 |
4f017cb91aa6591385966ccaf0c326e6b2f2c2b8 1135170 |
|
13-Jun-2011 |
sf |
Fix handling of cumulative system time |
8dfa8c6f60f12e0b65eebbb652b629f911f0f84b 1135085 |
|
13-Jun-2011 |
sf |
Merge repeated calls of ap_rputs.
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51330 |
d69e1ed15b5db3d832c1f6c8c403ef397248857a 1097070 |
|
27-Apr-2011 |
trawick |
Follow on to 1057048:
In the map of active workers, don't print spaces for scoreboard
slots which aren't used due to ThreadsPerChild < ThreadLimit or
MaxClients/ThreadsPerChild < ServerLimit; simply omit those slots
from the display. Workers in those slots which are gracefully
exiting (from a previous generation with a different MPM config)
will be displayed, and the map will shrink as those workers exit. |
01d315c948a50cb511dbaee108b9571ee9a4d287 1087331 |
|
31-Mar-2011 |
jim |
Add in a configuration generation... this is independent of
MPM gen, just in case we ever switch MPMs at a graceful ;) |
ddf3c03e4798f13fe6eea22039864261ea09da18 1057329 |
|
10-Jan-2011 |
sf |
clarify that the displayed IP address may not be the public address,
as suggested by wrowe |
b5ffe4f30780fb159db08bd9f628980d2a092711 1057050 |
|
10-Jan-2011 |
sf |
Display the local IP address in server-status. This can be useful for HTTPDs
behind load balancers. |
397df70abe0bdd78a84fb6c38c02641bcfeadcea 1057048 |
|
10-Jan-2011 |
sf |
mod_status: Don't show slots which are disabled by MaxClients as open.
PR: 47022
Submitted by: Jordi Prats <jordi prats gmail com>, Stefan Fritsch |
d90b36a9e6f6ea9a583694f4db5e5edd54a750b3 1024462 |
|
20-Oct-2010 |
minfrin |
Avoid unnecessariy initialisation before we test mod_status's handler name. |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
85c5af648e9f414bd4f157490766d2fd5515a9f5 903607 |
|
27-Jan-2010 |
rpluem |
* We need to return an int as result of the pre_config hook. |
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. |
4a13940dc2990df0a798718d3a3f9cf1566c2217 807930 |
|
26-Aug-2009 |
bjh |
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. |
44d2e75323651320b480d8bc2f098448a08de4fc 775341 |
|
15-May-2009 |
wrowe |
Quit hiding the previous request information while the subsequent request is partially read |
fda1a61aacb6950953b7393b845b0639d8e87359 758944 |
|
27-Mar-2009 |
trawick |
axe unmaintained 1.3-era code to support AUX, SunOS, IRIX, Next, Tandem, MPE,
LynxOS, QNX, and UnixWare |
1ca054782cb35b5f67686a41b1df75c269fa617b 758929 |
|
27-Mar-2009 |
trawick |
remove OS/2 platform support |
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 |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
83a5021aef5ebb67395b93f75df4fd0f0b4fc8c8 607873 |
|
01-Jan-2008 |
fuankg |
Modified default refresh value to 10 secs so that its possible to correct a typo. |
9f979f5c8061f6f6f560d1824e0e378ff5b91931 607282 |
|
28-Dec-2007 |
rpluem |
* Ensure refresh parameter is numeric to prevent a possible XSS attack caused
by redirecting to other URLs. Reported by SecurityReason.
Submitted by: Mark Cox, Joe Orton
Reviewed by: security@httpd.apache.org |
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 |
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. |
663237d6bcc59ac0997d71d48a1baa55fa29a3d8 562492 |
|
03-Aug-2007 |
jim |
Non-functional change. Simple cleanup.
PR: 42805 |
f2e009134c7e279f99dfca5bd421f721bf1f7840 549159 |
|
20-Jun-2007 |
jorton |
Fix CVE-2006-5752:
* modules/generators/mod_status.c (status_handler): Specify charset in
content-type to prevent browsers doing charset "detection", which
allows an XSS attack. Use logitem-escaping on the request string to
make it charset-neutral.
Reported by: Stefan Esser <sesser hardened-php.net> |
1ce78cf71b5baaf2c1ab48e818cb1f2397df5010 440337 |
|
05-Sep-2006 |
trawick |
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().
High-level summary:
The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.
Third-party modules must now use ap_get_server_banner() or
ap_get_server_description() in place of ap_get_server_version(). |
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 |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
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. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
b6e310e482c42cc323a28fa6fec653e11e0552e5 104029 |
|
24-Jun-2004 |
jorton |
* modules/generators/mod_status.c: Mark private global variables
as static. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
08cecb2a91c86c409dc905266479725e3dbfb19d 102565 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
04891cf70e0bfc38bfb027541dc821f04c754ff7 102524 |
|
06-Feb-2004 |
nd |
apply Apache License, 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
7cd5419264796cfeaf8215383cf0f89130a81fec 101614 |
|
29-Oct-2003 |
trawick |
mod_status: Report total CPU time accurately when using a threaded
MPM.
Note: It worked before with linuxthreads and it still does. But now
it works with normal thread implementations too.
PR: 23795 |
f0e395a55abfcad3d2bd7c63470003b08a93d567 100737 |
|
22-Jul-2003 |
nd |
fix mod_status compilation on Win32 (stolen from mod_dav).
We should consider a rename of AP_*_HOOK_* to CORE_*_HOOK_* ;-) |
98fb535f829e2a95aabd82420931f476661fa8e3 100724 |
|
21-Jul-2003 |
jorton |
Add optional hook to extend mod_status output.
* configure.in: Add modules/generators to include path.
* Makefile.in: Install mod_status.h.
* modules/generators/mod_status.h: New file.
* modules/generators/mod_status.c: Implement ap_run_status_hook.
(status_handler): Run status hooks. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
72b6f1cf3e616473e1c26464b3193b13c2c09e87 95917 |
|
30-Jun-2002 |
brianp |
Replaced APR_USEC_PER_SEC division with apr_time_sec macro |
aa9ab70de1bdc989e92887c429afefe43de5e68d 95654 |
|
13-Jun-2002 |
brianp |
Send output to the next filter even on header_only requests in mod_status
and mod_info |
3cbd177a6c885562f9ad0cf11695f044489c881d 95272 |
|
24-May-2002 |
gregames |
tweak "requests currently being processed". It is confusing to not have
old generation requests included after a graceful restart. But we
shouldn't count workers who are starting up.
OTOH, the "ready" counter needs to pay attention to the generation, so it
stays in sync with how p_i_s_m counts idle workers. |
12901074f5d6b36d08be84d8637b6f2c21e0da26 95151 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_[pr]error() |
6653a33e820463abd4f81915b7a1eba0f602e200 94745 |
|
22-Apr-2002 |
brianp |
Skip a potentially heavyweight call to sysconf, plus some
local variable initializations, in the common case where the
request is not for the server status page |
98cd3186185bb28ae6c95a3f159899fcf56a663f 94579 |
|
09-Apr-2002 |
trawick |
move a loop-invariant computation out of the thread loop and
at the same time quiet a gcc warning (it assumed that thread_limit
could be zero, which would leave ps_record uninitialized when
referenced after the end of the thread loop) |
64c351fd973428b5bb4c28e983fa86875ea4e60f 94558 |
|
09-Apr-2002 |
dougm |
PR:
Obtained from:
Submitted by: Ryan Morgan <rmorgan@covalent.net>
Reviewed by: dougm, jimjag
Change mod_status to use scoreboard accessor functions so it can
be used in any MPM without having to be recompiled. |
e0d102c882a7ed34d3eec24b36da49f097066a36 94056 |
|
20-Mar-2002 |
stoddard |
Commit 1 of 2 to:
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments on the call to aligh with ap_set_content_length |
e9dacb49354baa7346837faad335f27caa7fe1ee 94027 |
|
20-Mar-2002 |
stoddard |
First commit to introduce accessor function to set r->content_type.. |
cb97ae2ff6969c2789b8e03f1bc4187fa73b6baf 93969 |
|
16-Mar-2002 |
wrowe |
Simplify s/APR_OS_PROC_T_FMT/APR_PID_T_FMT/, apr_os_foo entities aren't
for external consumption. |
8bfe865d8d61be4ba4a89e45427a3c4211ebabdc 93955 |
|
15-Mar-2002 |
trawick |
speed up the short_report path... we were unnecessarily
walking the scoreboard
Submitted by: Stas Bekman |
f886987cd0bd4220c14043c4d9be77ec22902e73 93954 |
|
15-Mar-2002 |
trawick |
Factor out a bunch of commonality between the HAVE_TIMES path and
the !HAVE_TIMES path. This will help avoid future errors similar
to the ones fixed earlier today.
The code change also has the benefit of getting the paren-matching
feature of some editors to work properly. |
b6efbc34cb1f73bb0159eec046089bf05c3700df 93951 |
|
15-Mar-2002 |
trawick |
fix a couple of formatting bugs in the !HAVE_TIMES path
(somebody forgot to convert floating point format to
long integer format when APR-izing the time) |
2e7f1d7da527c09e717251e186deffe55e6fbd0f 93950 |
|
15-Mar-2002 |
trawick |
make mod_status a little faster by checking for an active server sooner in
the main loop
clean up the main loop by continuing when the server isn't active instead
of introducing yet another level of nesting |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
fd146a76eed6970ef98728d6d9bfee7d40fa38a4 93902 |
|
13-Mar-2002 |
trawick |
zap some crufty NO_GETTIMEOFDAY code
Submitted by: Stas Bekman
Reviewed by: Jeff Trawick |
c02a689f2274966ed5d1c16207f74b5128c35c86 93901 |
|
13-Mar-2002 |
trawick |
fix the calculation of request time in mod_status
(currently nobody sets the start/stop times so this fix isn't
immediately apparent)
Submitted by: Stas Bekman
Reviewed by: Jeff Trawick |
28c170ac8e99644de58cad454c6e0f9b4b359be6 93695 |
|
04-Mar-2002 |
jerenkrantz |
The style police at work.
(Justin took a minor pass at this on top of Sander's patch.)
Submitted by: Sander Striker <striker@apache.org>
Reviewed by: Justin Erenkrantz |
c0659e61002e9d6ff77b2dca72540e0af1b2ca64 93603 |
|
27-Feb-2002 |
stoddard |
De-tabify... |
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. |
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. |
cd8f8c995d415473f3bfb0b329b2450f2a722c3a 92510 |
|
18-Dec-2001 |
trawick |
Stop using HARD_SERVER_LIMIT/HARD_THREAD_LIMIT all over the place
and instead use the mpm query function to retrieve those limits and
use those dynamically-retrieved values when walking the scoreboard. |
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237 92144 |
|
23-Nov-2001 |
ianh |
Modify post_config hook so that it can return a error,
causing the server not to start.
previous method was to call exit(1) which would not fail
gracefully
PR:
Obtained from:
Submitted by:
Reviewed by: (Idea only Jeff Trawick) |
f714f1a7002928d785e53e70349700a7f595fee3 91435 |
|
11-Oct-2001 |
trawick |
fix a *printf() format |
41634f717c623556a16b27b25d7d909a66fe20f8 91218 |
|
01-Oct-2001 |
wrowe |
Clean up some warnings by summing bytecounts into apr_off_t holders
instead of ulongs. |
48d2edbfb84e5559b5da0f8d614ccab805cc67a8 90090 |
|
11-Aug-2001 |
rbb |
Fix the new method code. We need to cast 1 to an apr_int64_t or it will
be treated as a 32-bit integer, and it will wrap after being shifted
32 times.
Submitted by: Cody Sherr <csherr@covalent.net> and
Ryan Morgan <rmorgan@covalent.net> |
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898 89821 |
|
31-Jul-2001 |
gregames |
don't count workers in processes which aren't actively serving requests.
it is necessary to check for the generation as well as "quiescing", in the
case of a restart where no workers have seen the PoD yet. |
5a0f707b48da7703cbe6bc087f13a6735b1c742d 89820 |
|
31-Jul-2001 |
gregames |
mod_status: don't include workers from dead or quiescing processes in the
"requests currently being processed" or "idle" counts
also, change term from "servers" to "workers" - servers sounds like what
you call the whole thing |
1ec8bd0373f11c07688ec9afbbf778cf78a0bc52 89752 |
|
28-Jul-2001 |
wrowe |
More pendantic changes for HTML 3.2/4.01 Transitional compliance, and
XHTML 1.0 legibility. One XHTML issue remains, <td nowrap>, which has
an issue that "attribute minimization is not supported in XML". Since
?notables drops that thorny issue, I'm ignoring this for now. |
24b534291150023e6b68eca89ddd33e475ccddc0 89712 |
|
25-Jul-2001 |
wrowe |
Some cast magic for intentional float/int transformations, but I have
no idea what exactly this computation was trying to accomplish...
req_time = (long)(((ws_record.stop_time - ws_record.start_time) * 1000)
+ ((ws_record.stop_time - ws_record.start_time) / 1000)); |
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. |
42b95445a3e9b563e716503b91df6b433f9fb29a 89534 |
|
11-Jul-2001 |
gregames |
fix pid numbers in mod_status output when using a threaded mpm. pid_buffer was
being indexed by worker slot during initialization, then by process slot when
generating output.
This saves a little storage and a few cycles, too. |
5f4e89b7e376d596fbf5167314a3781fd0889064 89249 |
|
31-May-2001 |
trawick |
handle the SERVER_IDLE_KILL state in some of the ExtendedStatus=On
output
I don't have 100% confidence in my guess as to why some of the state labels
are in bold and some aren't (e.g., "<b>Write</b>" vs. "Graceful". Hopefully
any rhyme or reason to it is maintained with my change. |
217bfe402837e5f978d351f3a3135118307b498d 89248 |
|
30-May-2001 |
trawick |
a worker being cleaned up is not processing a request; filter out such
workers when counting the number of requests being processed
we won't count such workers as idle either, since they aren't available
to process new requests |
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. |
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. |
8e9734d1a4af74c141e2a0f880bb51bb061fa03a 88397 |
|
28-Feb-2001 |
trawick |
Fix a problem displaying status when a threaded MPM is used.
The line
int indx = (i * HARD_THREAD_LIMIT) + j;
in the vicinity of the change was bad; k needed to be added
instead of j.
I swapped the use of j and k in this section so that i and j
had the same meaning as in an earlier nested loop. I suspect
that the difference in meaning is what led to the bug. |
72360798a27566f28e2cbee0e39a0a6e3c3bd729 88390 |
|
28-Feb-2001 |
wrowe |
Goodbye ap_send_http_header |
239f998fbee5ac5b114b965bb76e217cce0003ed 88265 |
|
21-Feb-2001 |
stoddard |
Performance: apr_now() was being called for -all- requests. Call it only
for calls to server-status. This module is still a mess... |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
fc1efab92032301e317f07e1b3a00082d9d71f3f 88181 |
|
16-Feb-2001 |
rbb |
Add an apr_short_interval_time. This allows us to use an apr_interval_time
for apr_time_t - apr_time_t values. |
78ae889ffe0fdfab72f56c6993b0f302cb48da55 88176 |
|
15-Feb-2001 |
rbb |
Fix the seg fault in mod_status.c. This changes the up_time to an
interval_time. The segfault is caused by apr_vformatter not understanding
%lld, so we also had to change that to %qd, which solves that problem. |
a26b4650237f50fbde66d38c0c298e5c7e8aa403 88170 |
|
15-Feb-2001 |
rbb |
Remove some warnings from mod_status. |
74fd6d9aeadb9022086259c5c1ae00bc0dda9c9a 88152 |
|
14-Feb-2001 |
stoddard |
PR:
Obtained from:
Submitted by:
Get req/sec and bytes/sec status reporting working. Still lots of type
warnings but this is a bit better than before. |
333eac96e4fb7d6901cb75e6ca7bb22b2ccb84ce 88070 |
|
10-Feb-2001 |
trawick |
more module build cleanup, removing warnings and some
link errors (from when apr_ ctype macros weren't available) |
db12cd62083041bf90945eeb90cc40fbd2340797 88022 |
|
08-Feb-2001 |
trawick |
get _SC_CLK_TCK defined on Tru64 (and probably some other systems
as well); it works without it on systems which define HZ or don't
have times |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
0375f54d32af9c27de0006956d9f85d01b020351 87972 |
|
04-Feb-2001 |
stoddard |
More mod_status work... Get Current Time, Restart Time and Server uptime
displaying properly. |
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. |
ad83978f20c7d1a4323059d9af122e56fcd353bd 87958 |
|
02-Feb-2001 |
stoddard |
Should consider APRizing the entire module. For now, use HAVE_TIMES
to indicate if we have the necessary structures. This is part of getting
mod_status working on Windows |
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. |
beb70d51e435dc36c56a72b6cd83556c04db9283 87876 |
|
28-Jan-2001 |
wrowe |
Eliminate a gp fault on mpm_winnt since we don't have a scoreboard table. |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
73e8b26287de5c06fa470d36162e103dbac9c7e5 87697 |
|
17-Jan-2001 |
wrowe |
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded. |
ca53a74f4012a45cbad48e940eddf27d866981f9 87617 |
|
09-Jan-2001 |
dougm |
adjust remaining modules to use the new handler hook method (Alan Edwards)
bring back the old handler prototype by reusing r->handler (dougm)
PR:
Obtained from:
Submitted by:
Reviewed by: |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
e68becff3c3ddc18723c9799b8cc2e6e9c3dbd66 85318 |
|
28-May-2000 |
wrowe |
PR:
Obtained from:
Submitted by:
Reviewed by:
Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
names for linkage (API_, CORE_, and MODULE_). |
30c289e6bc6d28d210b21edd800ab2cfc78a8381 85309 |
|
27-May-2000 |
wrowe |
This patch corrects the issues from the AP_EXPORT and linkage
specification arguments to the ap_hooks.h declarations. As with
the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.
I will be happy to revert the inclusion of ap_config.h from
httpd.h if this bothers anyone. More individual modules need
to be patched if we do so.
The API_EXPORTs all moved into central storage in the ap_config.h
header. Without WIN32 or API_STATIC compile time declarations,
these macros remain no-ops.
This patch also moves the following data from http_main to http_config:
const char *ap_server_argv0;
const char *ap_server_root;
ap_array_header_t *ap_server_pre_read_config;
ap_array_header_t *ap_server_post_read_config;
ap_array_header_t *ap_server_config_defines;
And the following variables had already moved into ap_hooks.c:
ap_pool_t *g_pHookPool; (initialized now in http_config)
int g_bDebugHooks; (out of http_config)
const char *g_szCurrentHookName; (out of http_config)
The changes to http_main.c are in preparation for that module to
move out to a seperate .exe for win32. Other platforms will be
unaffected, outside of these changes. |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
8f3ec4772d2aeb347cf40e87c77627bb784dd018 84492 |
|
19-Jan-2000 |
rbb |
This is a huge change to the configure system. Basically, this name space
protects most, if not all, of the Apache macros. This has been tested on
Linux using all of the Unix MPM's. The biggest push was that Apache's
httpd.h header file can no longer include the ap_config.h file. Most of the
other files include this themselves now.
Submitted by: Ryan Bloom and Manoj Kasichainula |
6db54801798f6021bb464de7b3fdcc9dc3150f7b 84413 |
|
09-Jan-2000 |
dgaudet |
time overhaul:
- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras
probably broken on anything except linux. |
1465b960f95b4afba4f4221054dd09e11509bd40 84386 |
|
31-Dec-1999 |
rbb |
A few more tweaks to finish the modules work. Now, all of the modules
compile correctly with Apache 2.0. This does run, but it hasn't been tested
any more than simply compiling and running the server. |
1ce608a5443e8c0a377c8687d34ff854906bdfbf 84383 |
|
31-Dec-1999 |
rbb |
Fix a bug in mod_status. ap_ht_time expects an ap_time_t type, instead of
a time_t now. |
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557b 83982 |
|
13-Oct-1999 |
manoj |
Add a connection status table to replace the old function of the
scoreboard. It allows MPMs to implement their own mechanism for the
status table and allows any module to add its own per-connection status
entries. |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly. |
fe6baec9bbcd36f932b71a355120cd7b5a685d6c 83794 |
|
26-Aug-1999 |
fielding |
Changes to mod_status so that the two new states for threads are recognized
and reported properly.
Submitted by: Ryan Bloom |
0f081398cf0eef8cc7c66a535d450110a92dc8ae 83751 |
|
24-Aug-1999 |
fielding |
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group |