From: Ruslan Ermilov Date: Wed, 3 Jul 2013 08:04:13 +0000 (+0400) Subject: Upstream: updated list of ngx_event_connect_peer() return values. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=523191ec89a11f3ffc81f6b6b710f46f86fa33d0;p=nginx.git 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. --- diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 16e660245..5ba794228 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -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;