Stefan Fritsch
92e366007c
Add lots of unique tags to error log messages
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 23:02:04 +00:00
Stefan Fritsch
ebb62867fb
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
...
advantage of per-module loglevels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
Ruediger Pluem
7a9a1d197a
* Removed unused variables.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759954 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 13:14:29 +00:00
Mladen Turk
e897431506
Use correct check logic
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759849 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 06:38:14 +00:00
Mladen Turk
09ca3bc6bf
If there are multiple hook watchdog threads registered, make sure we fire on default one only
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759847 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 06:35:47 +00:00
Mladen Turk
2103ba72a1
Use child singleton watchdog for running the heartbeat module
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759751 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 19:17:30 +00:00
Jeff Trawick
9cdd58c159
no ap_my_generation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758396 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 18:39:19 +00:00
Bradley Nicholes
8b8495768a
Declare variables prior to code statements otherwise some compilers choke.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757840 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 15:19:54 +00:00
Paul Querna
932b13a818
Tag the pool at creation time.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736822 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 22:08:46 +00:00
Paul Querna
e05e9c2d1a
Use the more traditional create/clear/destroy style for the main loop pool.
...
Suggested by: jerenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736809 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 21:47:16 +00:00
Paul Querna
0a0ac63f29
Use cmd->temp_pool for temp allocations during configuration.
...
Suggested by: Takashi Sato <takashi lans-tv.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724092 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 06:23:04 +00:00
Paul Querna
5aa5f9850d
Make ctx:status an apr_status_t, and be consistent about checking and setting it.
...
Suggested by: Takashi Sato <takashi lans-tv.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724091 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 06:15:40 +00:00
Paul Querna
d9ceaf6a9b
Use APR_THREAD_FUNC for heart{beat,monitor} thread workers.
...
Suggested by: Takashi Sato <takashi lans-tv.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724090 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 06:11:42 +00:00
Paul Querna
b23b3ec7f8
Show the correct mutex type (even if its just the enum id) rather than the default one, if it fails.
...
Suggested by: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723666 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 09:03:57 +00:00
Paul Querna
4a8f5f80c5
Add comment explaining the startup mutex.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723665 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 08:57:16 +00:00
Paul Querna
24bbbd088e
Use correct function name in log message.
...
Suggested By: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723663 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 08:52:50 +00:00
Paul Querna
8b2f6257e4
Don't overcount busy servers from previous generations.
...
Suggested by: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723661 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 08:50:08 +00:00
Paul Querna
33f371102e
Make hb_ctx_t:keep_running volatile.
...
Suggested by: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723660 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 08:47:36 +00:00
Paul Querna
e5b7a79cd1
Don't do anything by defautl if we haven't been configured.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722398 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 08:11:17 +00:00
Bradley Nicholes
d7157a639b
Move the variable declarations to the beginning of the code blocks to avoid compiler errors on netware.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722155 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:11:48 +00:00
Paul Querna
ef70cebf29
Move variable declartions to the top of functions for c89'ness.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@721956 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 03:10:49 +00:00
Paul Querna
3680a77cba
Add two new modules to handle load balancing across multiple apache servers
...
within the same datacenter.
mod_heartbeat generates multicast status messages with the current number of
clients connected, but the formated can easily be extended to include other
things.
mod_heartmonitor collects these messages into a static file, which then can be
used for other modules to make load balancing decisions on.
This module was originally written at Joost by Sander Striker, Justin
Erenkrantz, and myself. We have been given permission by our employer to
contribute this module.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@721952 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 02:55:14 +00:00