summaryrefslogtreecommitdiffstats
path: root/include/scoreboard.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2007-09-07 15:13:37 +0200
committerJim Jagielski <jim@apache.org>2007-09-07 15:13:37 +0200
commit0703f437c015054913d763ef525c42de5d97c763 (patch)
treea14de44607e6ddec29f9c2a3156500208954d9de /include/scoreboard.h
parentsemi-revert 573264. It is totally bogus that we (diff)
downloadapache2-0703f437c015054913d763ef525c42de5d97c763.tar.xz
apache2-0703f437c015054913d763ef525c42de5d97c763.zip
Reinstate the lb_score patch, but, protect against
conflicting leakage as per jfc proposal. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573569 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/scoreboard.h')
-rw-r--r--include/scoreboard.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/scoreboard.h b/include/scoreboard.h
index 1e934cd29c..6f8b42e394 100644
--- a/include/scoreboard.h
+++ b/include/scoreboard.h
@@ -45,6 +45,9 @@ extern "C" {
#define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
#endif
+/* for proxy_worker_stat */
+#include "../modules/proxy/mod_proxy.h"
+
/* Scoreboard info on a process is, for now, kept very brief ---
* just status value and pid (the latter so that the caretaker process
* can properly update the scoreboard when a process dies). We may want
@@ -142,11 +145,7 @@ struct process_score {
};
/* stuff which is lb specific */
-typedef struct lb_score lb_score;
-struct lb_score {
- /* TODO: sync this with proxy_worker_stat */
- unsigned char data[256];
-};
+typedef proxy_worker_stat lb_score;
/* Scoreboard is now in 'local' memory, since it isn't updated once created,
* even in forked architectures. Child created-processes (non-fork) will