comparison src/http/ngx_http_upstream.h @ 2786:4e002555652d

proxy_ignore_headers and fastcgi_ignore_headers
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Apr 2009 16:15:07 +0000
parents 7d16774c757c
children 6e1941b321b7
comparison
equal deleted inserted replaced
2785:d478379e51ac 2786:4e002555652d
36 |NGX_HTTP_UPSTREAM_FT_HTTP_404) 36 |NGX_HTTP_UPSTREAM_FT_HTTP_404)
37 37
38 #define NGX_HTTP_UPSTREAM_INVALID_HEADER 40 38 #define NGX_HTTP_UPSTREAM_INVALID_HEADER 40
39 39
40 40
41 #define NGX_HTTP_UPSTREAM_IGN_XA_REDIRECT 0x00000002
42 #define NGX_HTTP_UPSTREAM_IGN_XA_EXPIRES 0x00000004
43 #define NGX_HTTP_UPSTREAM_IGN_EXPIRES 0x00000008
44 #define NGX_HTTP_UPSTREAM_IGN_CACHE_CONTROL 0x00000010
45
46
41 typedef struct { 47 typedef struct {
42 ngx_msec_t bl_time; 48 ngx_msec_t bl_time;
43 ngx_uint_t bl_state; 49 ngx_uint_t bl_state;
44 50
45 ngx_uint_t status; 51 ngx_uint_t status;
126 size_t max_temp_file_size_conf; 132 size_t max_temp_file_size_conf;
127 size_t temp_file_write_size_conf; 133 size_t temp_file_write_size_conf;
128 134
129 ngx_bufs_t bufs; 135 ngx_bufs_t bufs;
130 136
137 ngx_uint_t ignore_headers;
131 ngx_uint_t next_upstream; 138 ngx_uint_t next_upstream;
132 ngx_uint_t store_access; 139 ngx_uint_t store_access;
133 ngx_flag_t buffering; 140 ngx_flag_t buffering;
134 ngx_flag_t pass_request_headers; 141 ngx_flag_t pass_request_headers;
135 ngx_flag_t pass_request_body; 142 ngx_flag_t pass_request_body;