]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
semi-revert 573264. It is totally bogus that we
authorJim Jagielski <jim@apache.org>
Fri, 7 Sep 2007 11:58:38 +0000 (11:58 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 7 Sep 2007 11:58:38 +0000 (11:58 +0000)
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573555 13f79535-47bb-0310-9956-ffa450edef68

include/scoreboard.h

index 5ab8944e0b5ebe2808d207ef71b2fefaf054e88c..1e934cd29cf8f5bac2750e7c04426dd939a16a15 100644 (file)
@@ -40,9 +40,6 @@ extern "C" {
 #include "apr_shm.h"
 #include "apr_optional.h"
 
-/* for lb_score */
-#include "../modules/proxy/mod_proxy.h"
-
 /* Scoreboard file, if there is one */
 #ifndef DEFAULT_SCOREBOARD
 #define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
@@ -145,7 +142,11 @@ struct process_score {
 };
 
 /* stuff which is lb specific */
-typedef struct proxy_worker_stat lb_score;
+typedef struct lb_score lb_score;
+struct lb_score {
+    /* TODO: sync this with proxy_worker_stat */
+    unsigned char data[256];
+};
 
 /* Scoreboard is now in 'local' memory, since it isn't updated once created,
  * even in forked architectures.  Child created-processes (non-fork) will