Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3708:c1385a3b8093
fix typo
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 Jul 2010 13:04:13 +0000 |
parents | ea908f6ae499 |
children | 64777690c697 |
comparison
equal
deleted
inserted
replaced
3707:b9a64a91fe76 | 3708:c1385a3b8093 |
---|---|
1949 | 1949 |
1950 size = b->end - b->last; | 1950 size = b->end - b->last; |
1951 | 1951 |
1952 if (size == 0) { | 1952 if (size == 0) { |
1953 ngx_log_error(NGX_LOG_ALERT, c->log, 0, | 1953 ngx_log_error(NGX_LOG_ALERT, c->log, 0, |
1954 "upstream buffer is too small to read repsonse"); | 1954 "upstream buffer is too small to read response"); |
1955 ngx_http_upstream_finalize_request(r, u, NGX_ERROR); | 1955 ngx_http_upstream_finalize_request(r, u, NGX_ERROR); |
1956 return; | 1956 return; |
1957 } | 1957 } |
1958 | 1958 |
1959 n = c->recv(c, b->last, size); | 1959 n = c->recv(c, b->last, size); |