summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2014-04-29 12:28:41 +0400
committerVladimir Homutov <vl@nginx.com>2014-04-29 12:28:41 +0400
commited6780aaf12e99cce0fa3b27fff229b87aefec16 (patch)
tree9b9cef3fe01e83abdb0c4dee788d4b9330ba124b /src/http/ngx_http_upstream.h
parentb53306815ecb226c6ae0dd9729a7a0af0043b4d4 (diff)
downloadnginx-ed6780aaf12e99cce0fa3b27fff229b87aefec16.tar.gz
nginx-ed6780aaf12e99cce0fa3b27fff229b87aefec16.tar.bz2
Upstream: added the "$upstream_cookie_<name>" variables.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index b8998ced8..50b3e6367 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -248,6 +248,7 @@ typedef struct {
off_t content_length_n;
ngx_array_t cache_control;
+ ngx_array_t cookies;
unsigned connection_close:1;
unsigned chunked:1;
@@ -363,6 +364,8 @@ typedef struct {
} ngx_http_upstream_param_t;
+ngx_int_t ngx_http_upstream_cookie_variable(ngx_http_request_t *r,
+ ngx_http_variable_value_t *v, uintptr_t data);
ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data);