comparison src/http/ngx_http_upstream.h @ 3006:95972b9e790b

ngx_http_upstream_create() to cleanup the previous upstream after internal redirect
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Jul 2009 13:25:29 +0000
parents 0998606fbfd4
children ebcee0063cd8 0d8b8c84bab7
comparison
equal deleted inserted replaced
3005:5bc8811728f8 3006:95972b9e790b
315 315
316 316
317 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r, 317 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r,
318 ngx_http_variable_value_t *v, uintptr_t data); 318 ngx_http_variable_value_t *v, uintptr_t data);
319 319
320 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r);
320 void ngx_http_upstream_init(ngx_http_request_t *r); 321 void ngx_http_upstream_init(ngx_http_request_t *r);
321 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, 322 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
322 ngx_url_t *u, ngx_uint_t flags); 323 ngx_url_t *u, ngx_uint_t flags);
323 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, 324 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
324 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev, 325 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,