Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_upstream_ip_hash_module.c @ 274:052a7b1d40e5 NGINX_0_5_7
nginx 0.5.7
*) Feature: the ssl_session_cache storage optimization.
*) Bugfixes in the "ssl_session_cache" and "limit_zone" directives.
*) Bugfix: the segmentation fault was occurred on start or while
reconfiguration if the "ssl_session_cache" or "limit_zone"
directives were used on 64-bit platforms.
*) Bugfix: a segmentation fault occurred if the "add_before_body" or
"add_after_body" directives were used and there was no
"Content-Type" header line in response.
*) Bugfix: the OpenSSL library was always built with the threads
support.
Thanks to Den Ivanov.
*) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 15 Jan 2007 00:00:00 +0300 |
parents | 0effe91f6083 |
children | f745bf973510 |
comparison
equal
deleted
inserted
replaced
273:60df8db42ffb | 274:052a7b1d40e5 |
---|---|
169 | 169 |
170 /* ngx_lock_mutex(iphp->rrp.peers->mutex); */ | 170 /* ngx_lock_mutex(iphp->rrp.peers->mutex); */ |
171 | 171 |
172 if (!peer->down) { | 172 if (!peer->down) { |
173 | 173 |
174 if (peer->max_fails == 0 || peer->fails < peer->max_fails) { | 174 if (peer->max_fails == 0 || peer->fails < peer->max_fails) { |
175 break; | 175 break; |
176 } | 176 } |
177 | 177 |
178 if (now - peer->accessed > peer->fail_timeout) { | 178 if (now - peer->accessed > peer->fail_timeout) { |
179 peer->fails = 0; | 179 peer->fails = 0; |
180 break; | 180 break; |
181 } | 181 } |
182 | 182 |
183 } else { | 183 } else { |
184 iphp->rrp.tried[n] |= m; | 184 iphp->rrp.tried[n] |= m; |
185 } | 185 } |
186 | 186 |