Mercurial > hg > nginx
comparison src/core/ngx_inet.c @ 561:e48ebafc6939 release-0.3.2
nginx-0.3.2-RELEASE import
*) Feature: the Sun Studio 10 C compiler support.
*) Feature: the "proxy_upstream_max_fails",
"proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and
"fastcgi_upstream_fail_timeout" directives.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Oct 2005 13:50:36 +0000 |
parents | 7bd37aef1e7e |
children | 174f1e853e1e |
comparison
equal
deleted
inserted
replaced
560:8886091eddd2 | 561:e48ebafc6939 |
---|---|
341 u->port_text.data, u->port_text.len); | 341 u->port_text.data, u->port_text.len); |
342 | 342 |
343 peers->peer[i].name.len = len + u->port_text.len; | 343 peers->peer[i].name.len = len + u->port_text.len; |
344 | 344 |
345 peers->peer[i].uri_separator = ""; | 345 peers->peer[i].uri_separator = ""; |
346 | |
347 peers->peer[i].weight = 1; | |
348 peers->peer[i].max_fails = 1; | |
349 peers->peer[i].fail_timeout = 10; | |
350 } | 346 } |
351 | 347 |
352 } else { | 348 } else { |
353 | 349 |
354 /* MP: ngx_shared_palloc() */ | 350 /* MP: ngx_shared_palloc() */ |