comparison src/http/modules/proxy/ngx_http_proxy_handler.h @ 148:5afee0074707

nginx-0.0.1-2003-10-17-00:19:16 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Oct 2003 20:19:16 +0000
parents 54307053f185
children 2d9e4a8b6d11
comparison
equal deleted inserted replaced
147:be71fca7f9d7 148:5afee0074707
7 #include <ngx_event.h> 7 #include <ngx_event.h>
8 #include <ngx_http.h> 8 #include <ngx_http.h>
9 9
10 10
11 typedef struct { 11 typedef struct {
12 ngx_msec_t connect_timeout; 12 ngx_str_t host;
13 ngx_msec_t send_timeout; 13 ngx_str_t uri;
14 ssize_t header_size; 14 ngx_str_t *location;
15 ngx_msec_t read_timeout; 15 ngx_str_t host_header;
16 ngx_str_t port_text;
17 int port;
18 } ngx_http_proxy_upstream_t;
19
20
21 typedef struct {
22 ngx_msec_t connect_timeout;
23 ngx_msec_t send_timeout;
24 ssize_t header_size;
25 ngx_msec_t read_timeout;
26
27 ngx_bufs_t bufs;
16 28
17 /* STUB */ 29 /* STUB */
18 int block_size; 30 int max_busy_len;
19 int max_block_size; 31 int max_temp_file_size;
20 int max_temp_file_size; 32 int temp_file_write_size;
21 int temp_file_write_size;
22 /* */ 33 /* */
23 34
24 ngx_path_t *temp_path; 35 ngx_path_t *temp_path;
25 36
26 ngx_peers_t *peers; 37 ngx_http_proxy_upstream_t *upstream;
38 ngx_peers_t *peers;
27 } ngx_http_proxy_loc_conf_t; 39 } ngx_http_proxy_loc_conf_t;
28 40
29 41
30 typedef struct { 42 typedef struct {
31 ngx_table_elt_t *date; 43 ngx_table_elt_t *date;