summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index aa5cc3518..b2e3f3e93 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -232,7 +232,6 @@ struct ngx_http_upstream_s {
ngx_str_t method;
ngx_http_upstream_state_t *state;
- ngx_array_t states; /* of ngx_http_upstream_state_t */
ngx_str_t uri;
@@ -248,6 +247,9 @@ struct ngx_http_upstream_s {
};
+ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r,
+ ngx_http_variable_value_t *v, uintptr_t data);
+
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);