Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 5216:4a40163772a1
Upstream: made the assignment more obvious.
No functional changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 21 May 2013 12:54:26 +0400 |
parents | 07e515e65984 |
children | ddba4e308ecc |
comparison
equal
deleted
inserted
replaced
5215:cfab1e7e4ac2 | 5216:4a40163772a1 |
---|---|
1699 } | 1699 } |
1700 | 1700 |
1701 n = u->buffer.last - u->buffer.pos; | 1701 n = u->buffer.last - u->buffer.pos; |
1702 | 1702 |
1703 if (n) { | 1703 if (n) { |
1704 u->buffer.last -= n; | 1704 u->buffer.last = u->buffer.pos; |
1705 | 1705 |
1706 u->state->response_length += n; | 1706 u->state->response_length += n; |
1707 | 1707 |
1708 if (u->input_filter(u->input_filter_ctx, n) == NGX_ERROR) { | 1708 if (u->input_filter(u->input_filter_ctx, n) == NGX_ERROR) { |
1709 ngx_http_upstream_finalize_request(r, u, NGX_ERROR); | 1709 ngx_http_upstream_finalize_request(r, u, NGX_ERROR); |