Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_handler.h @ 139:54307053f185
nginx-0.0.1-2003-10-07-19:30:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 07 Oct 2003 15:30:05 +0000 |
parents | 3b168e12bd2d |
children | 5afee0074707 |
comparison
equal
deleted
inserted
replaced
138:3b168e12bd2d | 139:54307053f185 |
---|---|
12 ngx_msec_t connect_timeout; | 12 ngx_msec_t connect_timeout; |
13 ngx_msec_t send_timeout; | 13 ngx_msec_t send_timeout; |
14 ssize_t header_size; | 14 ssize_t header_size; |
15 ngx_msec_t read_timeout; | 15 ngx_msec_t read_timeout; |
16 | 16 |
17 /* STUB */ | |
18 int block_size; | |
19 int max_block_size; | |
20 int max_temp_file_size; | |
21 int temp_file_write_size; | |
22 /* */ | |
23 | |
24 ngx_path_t *temp_path; | |
25 | |
17 ngx_peers_t *peers; | 26 ngx_peers_t *peers; |
18 } ngx_http_proxy_loc_conf_t; | 27 } ngx_http_proxy_loc_conf_t; |
19 | 28 |
20 | 29 |
21 typedef struct { | 30 typedef struct { |
23 ngx_table_elt_t *server; | 32 ngx_table_elt_t *server; |
24 ngx_table_elt_t *connection; | 33 ngx_table_elt_t *connection; |
25 ngx_table_elt_t *content_type; | 34 ngx_table_elt_t *content_type; |
26 ngx_table_elt_t *content_length; | 35 ngx_table_elt_t *content_length; |
27 ngx_table_elt_t *last_modified; | 36 ngx_table_elt_t *last_modified; |
37 ngx_table_elt_t *accept_ranges; | |
28 | 38 |
29 ngx_table_t *headers; | 39 ngx_table_t *headers; |
30 } ngx_http_proxy_headers_in_t; | 40 } ngx_http_proxy_headers_in_t; |
31 | 41 |
32 | 42 |
50 int method; | 60 int method; |
51 ngx_str_t uri; | 61 ngx_str_t uri; |
52 int location_len; | 62 int location_len; |
53 ngx_str_t host_header; | 63 ngx_str_t host_header; |
54 | 64 |
65 ngx_event_proxy_t *event_proxy; | |
66 | |
67 unsigned accel:1; | |
68 unsigned fatal_error:1; | |
69 unsigned header_sent:1; | |
70 | |
55 /* used to parse an upstream HTTP header */ | 71 /* used to parse an upstream HTTP header */ |
56 char *status_start; | 72 char *status_start; |
57 char *status_end; | 73 char *status_end; |
58 int status_count; | 74 int status_count; |
59 int state; | 75 int state; |