mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 11:31:24 +00:00
optimization
This commit is contained in:
parent
d2582b9619
commit
7973964b3f
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue