summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-02 15:24:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-02 15:24:02 +0000
commit72e928755ba63b803c0b2478f6d8d1e792e95b86 (patch)
tree48354712b370bdfccd1d22824a6f2ddea5ca8443 /src/http/ngx_http_upstream.h
parent1d52beba7339a6edf235a2160bc20fc466e1823a (diff)
downloadnginx-72e928755ba63b803c0b2478f6d8d1e792e95b86.tar.gz
nginx-72e928755ba63b803c0b2478f6d8d1e792e95b86.tar.bz2
proxy_bind, fastcgi_bind, and memcached_bind
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 2d3bc2000..09fab00e6 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -152,6 +152,8 @@ typedef struct {
ngx_array_t *hide_headers;
ngx_array_t *pass_headers;
+ ngx_addr_t *local;
+
#if (NGX_HTTP_CACHE)
ngx_shm_zone_t *cache;
@@ -321,6 +323,8 @@ ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r);
void ngx_http_upstream_init(ngx_http_request_t *r);
ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
ngx_url_t *u, ngx_uint_t flags);
+char *ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
+ void *conf);
ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,
ngx_str_t *default_hide_headers, ngx_hash_init_t *hash);