mirror of
https://github.com/nginx/nginx.git
synced 2025-06-20 20:51:09 +08: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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
n = u->peer.connection->recv(u->peer.connection, u->buffer.last,
|
n = c->recv(c, u->buffer.last, u->buffer.end - u->buffer.last);
|
||||||
u->buffer.end - u->buffer.last);
|
|
||||||
|
|
||||||
if (n == NGX_AGAIN) {
|
if (n == NGX_AGAIN) {
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
Reference in New Issue
Block a user