Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
168:ba5dbb949603 | 169:edf29bb717da |
---|---|
39 ngx_path_t *temp_path; | 39 ngx_path_t *temp_path; |
40 | 40 |
41 ngx_http_proxy_upstream_t *upstream; | 41 ngx_http_proxy_upstream_t *upstream; |
42 ngx_peers_t *peers; | 42 ngx_peers_t *peers; |
43 } ngx_http_proxy_loc_conf_t; | 43 } ngx_http_proxy_loc_conf_t; |
44 | |
45 | |
46 typedef struct { | |
47 int status; | |
48 ngx_str_t *peer; | |
49 } ngx_http_proxy_state_t; | |
44 | 50 |
45 | 51 |
46 typedef struct { | 52 typedef struct { |
47 ngx_table_t *headers; /* it must be first field */ | 53 ngx_table_t *headers; /* it must be first field */ |
48 | 54 |
89 char *status_start; | 95 char *status_start; |
90 char *status_end; | 96 char *status_end; |
91 int status_count; | 97 int status_count; |
92 int state; | 98 int state; |
93 | 99 |
100 ngx_array_t states; /* of ngx_http_proxy_state_t */ | |
101 | |
94 char *action; | 102 char *action; |
95 ngx_http_log_ctx_t *saved_ctx; | 103 ngx_http_log_ctx_t *saved_ctx; |
96 ngx_log_handler_pt saved_handler; | 104 ngx_log_handler_pt saved_handler; |
97 }; | 105 }; |
98 | 106 |