comparison src/http/ngx_http_upstream.h @ 3271:fcd98af88df3

proxy_bind, fastcgi_bind, and memcached_bind
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Nov 2009 15:24:02 +0000
parents f0d596e84634
children ac9c0380337d
comparison
equal deleted inserted replaced
3270:7d1a04259e3f 3271:fcd98af88df3
150 150
151 ngx_hash_t hide_headers_hash; 151 ngx_hash_t hide_headers_hash;
152 ngx_array_t *hide_headers; 152 ngx_array_t *hide_headers;
153 ngx_array_t *pass_headers; 153 ngx_array_t *pass_headers;
154 154
155 ngx_addr_t *local;
156
155 #if (NGX_HTTP_CACHE) 157 #if (NGX_HTTP_CACHE)
156 ngx_shm_zone_t *cache; 158 ngx_shm_zone_t *cache;
157 159
158 ngx_uint_t cache_min_uses; 160 ngx_uint_t cache_min_uses;
159 ngx_uint_t cache_use_stale; 161 ngx_uint_t cache_use_stale;
319 321
320 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r); 322 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r);
321 void ngx_http_upstream_init(ngx_http_request_t *r); 323 void ngx_http_upstream_init(ngx_http_request_t *r);
322 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, 324 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
323 ngx_url_t *u, ngx_uint_t flags); 325 ngx_url_t *u, ngx_uint_t flags);
326 char *ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
327 void *conf);
324 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, 328 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
325 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev, 329 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,
326 ngx_str_t *default_hide_headers, ngx_hash_init_t *hash); 330 ngx_str_t *default_hide_headers, ngx_hash_init_t *hash);
327 331
328 332