comparison src/http/modules/ngx_http_upstream_least_conn_module.c @ 682:5cb5db9975ba NGINX_1_3_4

nginx 1.3.4 *) Change: the "ipv6only" parameter is now turned on by default for listening IPv6 sockets. *) Feature: the Clang compiler support. *) Bugfix: extra listening sockets might be created. Thanks to Roman Odaisky. *) Bugfix: nginx/Windows might hog CPU if a worker process failed to start. Thanks to Ricardo Villalobos Guevara. *) Bugfix: the "proxy_pass_header", "fastcgi_pass_header", "scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header", "fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header" directives might be inherited incorrectly.
author Igor Sysoev <http://sysoev.ru>
date Tue, 31 Jul 2012 00:00:00 +0400
parents bfa81a0490a2
children 88a1b4797f2e
comparison
equal deleted inserted replaced
681:625501f84a6b 682:5cb5db9975ba
79 NULL, /* exit master */ 79 NULL, /* exit master */
80 NGX_MODULE_V1_PADDING 80 NGX_MODULE_V1_PADDING
81 }; 81 };
82 82
83 83
84 ngx_int_t 84 static ngx_int_t
85 ngx_http_upstream_init_least_conn(ngx_conf_t *cf, 85 ngx_http_upstream_init_least_conn(ngx_conf_t *cf,
86 ngx_http_upstream_srv_conf_t *us) 86 ngx_http_upstream_srv_conf_t *us)
87 { 87 {
88 ngx_uint_t n; 88 ngx_uint_t n;
89 ngx_http_upstream_rr_peers_t *peers; 89 ngx_http_upstream_rr_peers_t *peers;