comparison src/http/ngx_http_upstream.h @ 1701:40d004d95d88

*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR this fixes fastcgi_catch_stderr segfault introduced in r1453 *) ngx_http_upstream_hide_headers_hash() *) proxy/fastcgi pass_header/hide_header use ngx_http_upstream_hide_headers_hash()
author Igor Sysoev <igor@sysoev.ru>
date Sun, 09 Dec 2007 18:03:20 +0000
parents 13f8dec720b5
children e5897822515f
comparison
equal deleted inserted replaced
1700:7f3350b18e75 1701:40d004d95d88
267 ngx_http_variable_value_t *v, uintptr_t data); 267 ngx_http_variable_value_t *v, uintptr_t data);
268 268
269 void ngx_http_upstream_init(ngx_http_request_t *r); 269 void ngx_http_upstream_init(ngx_http_request_t *r);
270 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, 270 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
271 ngx_url_t *u, ngx_uint_t flags); 271 ngx_url_t *u, ngx_uint_t flags);
272 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
273 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,
274 ngx_str_t *default_hide_headers, ngx_hash_init_t *hash);
272 275
273 276
274 #define ngx_http_conf_upstream_srv_conf(uscf, module) \ 277 #define ngx_http_conf_upstream_srv_conf(uscf, module) \
275 uscf->srv_conf[module.ctx_index] 278 uscf->srv_conf[module.ctx_index]
276 279