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:
Ruslan Ermilov 2013-07-03 12:04:13 +04:00
parent 469be19f4e
commit ad1b01f828

View file

@ -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;