Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 2351:a60b3fcf25ec stable-0.6
r2141 merge:
if upstream sent a location header without status use 302
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Nov 2008 14:31:44 +0000 |
parents | 805165c6ba2b |
children | afba93b8bf06 |
comparison
equal
deleted
inserted
replaced
2350:ee07289b697a | 2351:a60b3fcf25ec |
---|---|
135 ngx_http_upstream_process_header_line, | 135 ngx_http_upstream_process_header_line, |
136 offsetof(ngx_http_upstream_headers_in_t, www_authenticate), | 136 offsetof(ngx_http_upstream_headers_in_t, www_authenticate), |
137 ngx_http_upstream_copy_header_line, 0, 0 }, | 137 ngx_http_upstream_copy_header_line, 0, 0 }, |
138 | 138 |
139 { ngx_string("Location"), | 139 { ngx_string("Location"), |
140 ngx_http_upstream_ignore_header_line, 0, | 140 ngx_http_upstream_process_header_line, |
141 offsetof(ngx_http_upstream_headers_in_t, location), | |
141 ngx_http_upstream_rewrite_location, 0, 0 }, | 142 ngx_http_upstream_rewrite_location, 0, 0 }, |
142 | 143 |
143 { ngx_string("Refresh"), | 144 { ngx_string("Refresh"), |
144 ngx_http_upstream_ignore_header_line, 0, | 145 ngx_http_upstream_ignore_header_line, 0, |
145 ngx_http_upstream_rewrite_refresh, 0, 0 }, | 146 ngx_http_upstream_rewrite_refresh, 0, 0 }, |