Mercurial > hg > nginx
changeset 1558:6d6c5ddedfc0
optimization
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 08 Oct 2007 04:59:26 +0000 |
parents | 9d094e581587 |
children | fe11e2a3946d |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Tue Oct 02 18:53:31 2007 +0000 +++ b/src/http/ngx_http_upstream.c Mon Oct 08 04:59:26 2007 +0000 @@ -980,8 +980,7 @@ #endif } - n = u->peer.connection->recv(u->peer.connection, u->buffer.last, - u->buffer.end - u->buffer.last); + n = c->recv(c, u->buffer.last, u->buffer.end - u->buffer.last); if (n == NGX_AGAIN) { #if 0