From: Igor Sysoev Date: Mon, 8 Oct 2007 04:59:26 +0000 (+0000) Subject: optimization X-Git-Tag: release-0.6.14~11 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7973964b3f2ae267a9e9c74cd5878f3b4a79751b;p=nginx.git optimization --- diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 0956f0158..88cae8f03 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -980,8 +980,7 @@ ngx_http_upstream_process_header(ngx_event_t *rev) #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