]> git.kaiwu.me - nginx.git/commit
Upstream: track the number of active connections to upstreams.
authorRuslan Ermilov <ru@nginx.com>
Fri, 10 Apr 2015 10:16:23 +0000 (13:16 +0300)
committerRuslan Ermilov <ru@nginx.com>
Fri, 10 Apr 2015 10:16:23 +0000 (13:16 +0300)
commit18fa775b1060a663e15473161c795992926e60e1
tree573c21f6804ea6b8098dfc37c4d3fe8da38ff5b5
parentb25f0ddcf1202a475dee0d0bb6b93c1272c99d17
Upstream: track the number of active connections to upstreams.

This also simplifies the implementation of the least_conn module.
src/http/modules/ngx_http_upstream_hash_module.c
src/http/modules/ngx_http_upstream_ip_hash_module.c
src/http/modules/ngx_http_upstream_least_conn_module.c
src/http/ngx_http_upstream_round_robin.c
src/http/ngx_http_upstream_round_robin.h