summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-07-27 13:25:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-07-27 13:25:29 +0000
commit15b7420aa6ff79469e75c73def2070944502315e (patch)
tree8c71bff0940e02726446e23805f737948161363a /src/http/ngx_http_upstream.h
parentb477b2c2f43550859ac21ddbde9481de05dc13e5 (diff)
downloadnginx-15b7420aa6ff79469e75c73def2070944502315e.tar.gz
nginx-15b7420aa6ff79469e75c73def2070944502315e.tar.bz2
ngx_http_upstream_create() to cleanup the previous upstream after
internal redirect
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index fc777670e..ac2682d6f 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -317,6 +317,7 @@ typedef struct {
ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data);
+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);