You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mt...@apache.org on 2004/09/09 12:22:19 UTC
cvs commit: httpd-2.0/modules/proxy mod_proxy.h
mturk 2004/09/09 03:22:19
Modified: modules/proxy mod_proxy.h
Log:
Add 'default' foward proxy worker to the proxy_server_conf.
Revision Changes Path
1.126 +5 -3 httpd-2.0/modules/proxy/mod_proxy.h
Index: mod_proxy.h
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.h,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- mod_proxy.h 26 Aug 2004 06:57:16 -0000 1.125
+++ mod_proxy.h 9 Sep 2004 10:22:19 -0000 1.126
@@ -116,6 +116,10 @@
struct apr_sockaddr_t *addr;
};
+typedef struct proxy_balancer proxy_balancer;
+typedef struct proxy_worker proxy_worker;
+typedef struct proxy_conn_pool proxy_conn_pool;
+
typedef struct {
apr_array_header_t *proxies;
apr_array_header_t *sec_proxy;
@@ -126,6 +130,7 @@
apr_array_header_t *allowed_connect_ports;
apr_array_header_t *workers;
apr_array_header_t *balancers;
+ proxy_worker *forward; /* forward proxy worker */
const char *domain; /* domain name to use in absence of a domain name in the request */
int req; /* true if proxy requests are enabled */
char req_set;
@@ -179,9 +184,6 @@
apr_pool_t *pool; /* Pool used for allocating this struct */
} proxy_server_conf;
-typedef struct proxy_balancer proxy_balancer;
-typedef struct proxy_worker proxy_worker;
-typedef struct proxy_conn_pool proxy_conn_pool;
typedef struct {
const char *p; /* The path */