Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 2140:dce5ddef5af9
if upstream sent a location header without status use 302
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 04 Aug 2008 14:53:16 +0000 |
parents | 2a92804f4109 |
children | 4a5bfd728a12 |
comparison
equal
deleted
inserted
replaced
2139:dad4423ef56a | 2140:dce5ddef5af9 |
---|---|
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 }, |