httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r573555 - /httpd/httpd/trunk/include/scoreboard.h
Date Fri, 07 Sep 2007 11:58:39 GMT
Author: jim
Date: Fri Sep  7 04:58:38 2007
New Revision: 573555

URL: http://svn.apache.org/viewvc?rev=573555&view=rev
Log:
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.

Modified:
    httpd/httpd/trunk/include/scoreboard.h

Modified: httpd/httpd/trunk/include/scoreboard.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/scoreboard.h?rev=573555&r1=573554&r2=573555&view=diff
==============================================================================
--- httpd/httpd/trunk/include/scoreboard.h (original)
+++ httpd/httpd/trunk/include/scoreboard.h Fri Sep  7 04:58:38 2007
@@ -40,9 +40,6 @@
 #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 @@
 };
 
 /* 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



Mime
View raw message