Skip to content

Commit

Permalink
Arrange so that the basic works with 2.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jfclere committed Apr 30, 2012
1 parent c8ba8a9 commit 9dedc3f
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 96 deletions.
6 changes: 6 additions & 0 deletions native/include/node.h
Expand Up @@ -46,6 +46,8 @@ typedef struct mem mem_t;

#include "mod_clustersize.h"

#include "ap_mmn.h"

/* configuration of the node received from jboss cluster. */
struct nodemess {
char balancer[BALANCERSZ]; /* name of the balancer */
Expand Down Expand Up @@ -74,7 +76,11 @@ struct nodemess {
};
typedef struct nodemess nodemess_t;

#if AP_MODULE_MAGIC_AT_LEAST(20101223,1)
#define SIZEOFSCORE 800 /* size of the proxy_worker_stat structure */
#else
#define SIZEOFSCORE 200 /* size of the proxy_worker_stat structure */
#endif

/* status of the node as read/store in httpd. */
struct nodeinfo {
Expand Down

0 comments on commit 9dedc3f

Please sign in to comment.