details: http://hg.nginx.org/nginx/rev/af60a210cb78 branches: changeset: 5261:af60a210cb78 user: Ruslan Ermilov <r...@nginx.com> date: Wed Jul 03 12:04:13 2013 +0400 description: 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. diffstat: src/http/ngx_http_upstream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r e088695737c3 -r af60a210cb78 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Fri Jun 28 17:24:54 2013 +0400 +++ b/src/http/ngx_http_upstream.c Wed Jul 03 12:04:13 2013 +0400 @@ -1181,7 +1181,7 @@ ngx_http_upstream_connect(ngx_http_reque return; } - /* rc == NGX_OK || rc == NGX_AGAIN */ + /* rc == NGX_OK || rc == NGX_AGAIN || rc == NGX_DONE */ c = u->peer.connection; _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel