summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-08 04:59:26 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-10-08 04:59:26 +0000
commit7973964b3f2ae267a9e9c74cd5878f3b4a79751b (patch)
tree8d6a52ed08d8eaf71a4be6ad2936fa46e8f0f133 /src
parentd2582b9619615f79456db87be336d50b09a13e74 (diff)
downloadnginx-7973964b3f2ae267a9e9c74cd5878f3b4a79751b.tar.gz
nginx-7973964b3f2ae267a9e9c74cd5878f3b4a79751b.tar.bz2
optimization
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c3
1 files changed, 1 insertions, 2 deletions
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