Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
3400:8e407e7c899e | 3401:9e7926763f87 |
---|---|
1546 return; | 1546 return; |
1547 } | 1547 } |
1548 | 1548 |
1549 /* rc == NGX_OK */ | 1549 /* rc == NGX_OK */ |
1550 | 1550 |
1551 if (u->headers_in.status_n >= NGX_HTTP_BAD_REQUEST) { | 1551 if (u->headers_in.status_n > NGX_HTTP_SPECIAL_RESPONSE) { |
1552 | 1552 |
1553 if (r->subrequest_in_memory) { | 1553 if (r->subrequest_in_memory) { |
1554 u->buffer.last = u->buffer.pos; | 1554 u->buffer.last = u->buffer.pos; |
1555 } | 1555 } |
1556 | 1556 |