aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/proxy/ngx_http_proxy_handler.h
diff options
context:
space:
mode:
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;