mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
optimization
This commit is contained in:
parent
d2582b9619
commit
7973964b3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user