mirror of
https://github.com/nginx/nginx.git
synced 2025-06-09 19:12:47 +08:00
Upstream: updated list of ngx_event_connect_peer() return values.
ngx_http_upstream_get_keepalive_peer() may return NGX_DONE to indicate that the cached keepalive connection is reused.
This commit is contained in:
parent
dd3e13eef0
commit
523191ec89
@ -1181,7 +1181,7 @@ ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
|
||||
return;
|
||||
}
|
||||
|
||||
/* rc == NGX_OK || rc == NGX_AGAIN */
|
||||
/* rc == NGX_OK || rc == NGX_AGAIN || rc == NGX_DONE */
|
||||
|
||||
c = u->peer.connection;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user