diff src/http/modules/proxy/ngx_http_proxy_handler.h @ 169:edf29bb717da

nginx-0.0.1-2003-10-31-19:05:33 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 31 Oct 2003 16:05:33 +0000
parents 84036764e215
children c42be4185301
line wrap: on
line diff
--- 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;