aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_upstream_round_robin.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2013-03-25 14:51:44 +0000
committerRuslan Ermilov <ru@nginx.com>2013-03-25 14:51:44 +0000
commitea327f13f130be87cf3023e215d1c97b5465343f (patch)
treec04a20d5e87d6d56a771414035072be9b38f2254 /src/http/ngx_http_upstream_round_robin.h
parent4d9fdd86f7163286e9423b37954ac3e79385c3ff (diff)
downloadnginx-ea327f13f130be87cf3023e215d1c97b5465343f.tar.gz
nginx-ea327f13f130be87cf3023e215d1c97b5465343f.zip
Upstream: removed rudiments of upstream connection caching.
This functionality is now provided by ngx_http_upstream_keepalive_module.
Diffstat (limited to 'src/http/ngx_http_upstream_round_robin.h')
-rw-r--r--src/http/ngx_http_upstream_round_robin.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h
index 3f8cbf87f..ea90ab918 100644
--- a/src/http/ngx_http_upstream_round_robin.h
+++ b/src/http/ngx_http_upstream_round_robin.h
@@ -42,10 +42,8 @@ typedef struct ngx_http_upstream_rr_peers_s ngx_http_upstream_rr_peers_t;
struct ngx_http_upstream_rr_peers_s {
ngx_uint_t number;
- ngx_uint_t last_cached;
/* ngx_mutex_t *mutex; */
- ngx_connection_t **cached;
ngx_uint_t total_weight;