Assignment to the variable rrp->peers->last_cached cannot be found in anywhere in total nginx-1.3.5 source code, if the variable's default value is zero, this conditional will never be true: ngx_int_t ngx_http_upstream_get_round_robin_peer(ngx_peer_connection_t *pc, void *data) { ngx_http_upstream_rr_peer_data_t *rrp = data; ... if (rrp->peers->last_cached) { =========by lenky0401 - Nginx Mailing List - English
45: /* 46: * Preallocation of first nodes : 0, 1, 00, 01, 10, 11, 000, 001, etc. 47: * increases TLB hits even if for first lookup iterations. 48: * On 32-bit platforms the 7 preallocated bits takes continuous 4K, 49: * 8 - 8K, 9 - 16K, etc. On 64-bit platforms the 6 preallocated bits 50: * takes continuous 4K, 7 - 8K, 8 - 16K, etc. There is no sense to 51:by lenky0401 - Nginx Mailing List - English