comparison src/http/ngx_http_upstream_round_robin.c @ 692:6db6e93f55ee NGINX_1_3_9

nginx 1.3.9 *) Feature: support for chunked transfer encoding while reading client request body. *) Feature: the $request_time and $msec variables can now be used not only in the "log_format" directive. *) Bugfix: cache manager and cache loader processes might not be able to start if more than 512 listen sockets were used. *) Bugfix: in the ngx_http_dav_module.
author Igor Sysoev <http://sysoev.ru>
date Tue, 27 Nov 2012 00:00:00 +0400
parents bfa81a0490a2
children 88a1b4797f2e
comparison
equal deleted inserted replaced
691:acfd484db0ca 692:6db6e93f55ee
428 pc->connection = NULL; 428 pc->connection = NULL;
429 429
430 if (rrp->peers->single) { 430 if (rrp->peers->single) {
431 peer = &rrp->peers->peer[0]; 431 peer = &rrp->peers->peer[0];
432 432
433 if (peer->down) {
434 goto failed;
435 }
436
433 } else { 437 } else {
434 438
435 /* there are several peers */ 439 /* there are several peers */
436 440
437 peer = ngx_http_upstream_get_peer(rrp); 441 peer = ngx_http_upstream_get_peer(rrp);