comparison src/http/ngx_http_upstream.c @ 3003:b630e7d095b3

allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect", "X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Jul 2009 12:06:12 +0000
parents 87ddbe960172
children 4121acaf7a04
comparison
equal deleted inserted replaced
3002:bf0c7e58e016 3003:b630e7d095b3
222 ngx_http_upstream_copy_header_line, 0, 0 }, 222 ngx_http_upstream_copy_header_line, 0, 0 },
223 223
224 { ngx_string("X-Accel-Redirect"), 224 { ngx_string("X-Accel-Redirect"),
225 ngx_http_upstream_process_header_line, 225 ngx_http_upstream_process_header_line,
226 offsetof(ngx_http_upstream_headers_in_t, x_accel_redirect), 226 offsetof(ngx_http_upstream_headers_in_t, x_accel_redirect),
227 ngx_http_upstream_ignore_header_line, 0, 0 }, 227 ngx_http_upstream_copy_header_line, 0, 0 },
228 228
229 { ngx_string("X-Accel-Limit-Rate"), 229 { ngx_string("X-Accel-Limit-Rate"),
230 ngx_http_upstream_process_limit_rate, 0, 230 ngx_http_upstream_process_limit_rate, 0,
231 ngx_http_upstream_ignore_header_line, 0, 0 }, 231 ngx_http_upstream_copy_header_line, 0, 0 },
232 232
233 { ngx_string("X-Accel-Buffering"), 233 { ngx_string("X-Accel-Buffering"),
234 ngx_http_upstream_process_buffering, 0, 234 ngx_http_upstream_process_buffering, 0,
235 ngx_http_upstream_ignore_header_line, 0, 0 }, 235 ngx_http_upstream_copy_header_line, 0, 0 },
236 236
237 { ngx_string("X-Accel-Charset"), 237 { ngx_string("X-Accel-Charset"),
238 ngx_http_upstream_process_charset, 0, 238 ngx_http_upstream_process_charset, 0,
239 ngx_http_upstream_ignore_header_line, 0, 0 }, 239 ngx_http_upstream_copy_header_line, 0, 0 },
240 240
241 #if (NGX_HTTP_GZIP) 241 #if (NGX_HTTP_GZIP)
242 { ngx_string("Content-Encoding"), 242 { ngx_string("Content-Encoding"),
243 ngx_http_upstream_process_header_line, 243 ngx_http_upstream_process_header_line,
244 offsetof(ngx_http_upstream_headers_in_t, content_encoding), 244 offsetof(ngx_http_upstream_headers_in_t, content_encoding),