Mercurial > hg > nginx-quic
changeset 5209:07e515e65984
Upstream: allow to intercept responses with status 300.
This fixes an omission made in 9e7926763f87 where all 3XX statuses
were allowed for "error_page".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 13 May 2013 14:10:22 +0400 |
parents | a64c8a5da336 |
children | ea2ba6dbe361 |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1660,7 +1660,7 @@ ngx_http_upstream_process_header(ngx_htt /* rc == NGX_OK */ - if (u->headers_in.status_n > NGX_HTTP_SPECIAL_RESPONSE) { + if (u->headers_in.status_n >= NGX_HTTP_SPECIAL_RESPONSE) { if (r->subrequest_in_memory) { u->buffer.last = u->buffer.pos;