Mercurial > hg > nginx-quic
diff src/http/ngx_http_upstream.c @ 3401:9e7926763f87
allow to handle 301/302 in error_page
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Dec 2009 15:31:16 +0000 |
parents | ac9c0380337d |
children | a076e1823737 |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1548,7 +1548,7 @@ ngx_http_upstream_process_header(ngx_htt /* rc == NGX_OK */ - if (u->headers_in.status_n >= NGX_HTTP_BAD_REQUEST) { + if (u->headers_in.status_n > NGX_HTTP_SPECIAL_RESPONSE) { if (r->subrequest_in_memory) { u->buffer.last = u->buffer.pos;