aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/proxy/ngx_http_proxy_handler.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-31 16:05:33 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-31 16:05:33 +0000
commitfe0f5cc6e1e48412235ae91c2f71ec2ec9110a60 (patch)
tree410e0c4ee6d0d67b8a83a5bb8745a6bd164798f6 /src/http/modules/proxy/ngx_http_proxy_handler.h
parent219d44dd5d6a2726f39dbb1fdb9ca2a66fd2ee24 (diff)
downloadnginx-fe0f5cc6e1e48412235ae91c2f71ec2ec9110a60.tar.gz
nginx-fe0f5cc6e1e48412235ae91c2f71ec2ec9110a60.zip
nginx-0.0.1-2003-10-31-19:05:33 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.h')
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h
index 601a8f6ca..c211afbba 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.h
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.h
@@ -44,6 +44,12 @@ typedef struct {
typedef struct {
+ int status;
+ ngx_str_t *peer;
+} ngx_http_proxy_state_t;
+
+
+typedef struct {
ngx_table_t *headers; /* it must be first field */
ngx_table_elt_t *date;
@@ -91,6 +97,8 @@ struct ngx_http_proxy_ctx_s {
int status_count;
int state;
+ ngx_array_t states; /* of ngx_http_proxy_state_t */
+
char *action;
ngx_http_log_ctx_t *saved_ctx;
ngx_log_handler_pt saved_handler;