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
469be19f4e
commit
ad1b01f828
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue