comparison src/http/ngx_http_upstream.h @ 5717:efc84a5723b3

Upstream: generic hash module.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 02 Jun 2014 16:16:22 +0400
parents 3a48775f1535
children d0ce06cb9be1
comparison
equal deleted inserted replaced
5716:34d460c5d186 5717:efc84a5723b3
85 void *data; 85 void *data;
86 } ngx_http_upstream_peer_t; 86 } ngx_http_upstream_peer_t;
87 87
88 88
89 typedef struct { 89 typedef struct {
90 ngx_str_t name;
90 ngx_addr_t *addrs; 91 ngx_addr_t *addrs;
91 ngx_uint_t naddrs; 92 ngx_uint_t naddrs;
92 ngx_uint_t weight; 93 ngx_uint_t weight;
93 ngx_uint_t max_fails; 94 ngx_uint_t max_fails;
94 time_t fail_timeout; 95 time_t fail_timeout;