1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Added proxy status for conf, and elected member to runtime worker

Added mod_status extension for displaying runtime
status informations for load balancer.

Submitted by: mturk


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2004-08-11 23:30:17 +00:00
parent 787adb7c05
commit c42bcbc7ba
2 changed files with 136 additions and 2 deletions

View File

@@ -170,6 +170,12 @@ typedef struct {
apr_array_header_t* cookie_domains;
const apr_strmatch_pattern* cookie_path_str;
const apr_strmatch_pattern* cookie_domain_str;
enum {
status_off,
status_on,
status_full
} proxy_status; /* Status display options */
char proxy_status_set;
} proxy_server_conf;
@@ -261,6 +267,7 @@ typedef struct {
double lbfactor; /* dynamic lbfactor */
apr_size_t transfered; /* Number of bytes transfered to remote */
apr_size_t readed; /* Number of bytes readed from remote */
apr_size_t elected; /* Number of times the worker was elected */
} proxy_runtime_stat;
/* Runtime worker. */