comparison src/http/ngx_http_upstream.h @ 3245:61962127b166 stable-0.7

merge r3001, r3007, r3013: fix variuos segfaults: *) fix segfault if 400 or 414 errors are handled intricately *) ngx_http_upstream_create() to cleanup the previous upstream after internal redirect
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 17:09:27 +0000
parents 4f28e63e42b4
children ebcee0063cd8 0d8b8c84bab7
comparison
equal deleted inserted replaced
3244:8b2d478de54b 3245:61962127b166
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,