comparison src/http/modules/proxy/ngx_http_proxy_handler.h @ 159:981e4af2a425

nginx-0.0.1-2003-10-24-20:10:38 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 24 Oct 2003 16:10:38 +0000
parents d377ee423603
children e7e094d34162
comparison
equal deleted inserted replaced
158:d377ee423603 159:981e4af2a425
9 9
10 10
11 typedef struct { 11 typedef struct {
12 ngx_str_t host; 12 ngx_str_t host;
13 ngx_str_t uri; 13 ngx_str_t uri;
14 ngx_str_t *location;
15 ngx_str_t host_header; 14 ngx_str_t host_header;
16 ngx_str_t port_text; 15 ngx_str_t port_text;
16 ngx_str_t *location;
17 int port; 17 int port;
18 } ngx_http_proxy_upstream_t; 18 } ngx_http_proxy_upstream_t;
19 19
20 20
21 typedef struct { 21 typedef struct {
69 69
70 ngx_chain_t *work_request_hunks; 70 ngx_chain_t *work_request_hunks;
71 ngx_chain_t *request_hunks; 71 ngx_chain_t *request_hunks;
72 72
73 int method; 73 int method;
74 ngx_str_t uri;
75 int location_len;
76 74
77 ngx_event_pipe_t *event_pipe; 75 ngx_event_pipe_t *event_pipe;
78 76
79 unsigned accel:1; 77 unsigned accel:1;
80 unsigned cachable:1; 78 unsigned cachable:1;
81 unsigned fatal_error:1; 79 unsigned fatal_error:1;
80 unsigned request_sent:1;
81 unsigned timedout:1;
82 unsigned header_sent:1; 82 unsigned header_sent:1;
83 83
84 /* used to parse an upstream HTTP header */ 84 /* used to parse an upstream HTTP header */
85 char *status_start; 85 char *status_start;
86 char *status_end; 86 char *status_end;
87 int status_count; 87 int status_count;
88 int state; 88 int state;
89 89
90 char *action; 90 char *action;
91 ngx_http_log_ctx_t *saved_ctx;
91 }; 92 };
92 93
93 94
94 #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20 95 #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20
95 96