Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 5677:3a48775f1535
Upstream: added the "$upstream_cookie_<name>" variables.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 29 Apr 2014 12:28:41 +0400 |
parents | 060c2e692b96 |
children | efc84a5723b3 |
comparison
equal
deleted
inserted
replaced
5676:fbfdf8017748 | 5677:3a48775f1535 |
---|---|
246 #endif | 246 #endif |
247 | 247 |
248 off_t content_length_n; | 248 off_t content_length_n; |
249 | 249 |
250 ngx_array_t cache_control; | 250 ngx_array_t cache_control; |
251 ngx_array_t cookies; | |
251 | 252 |
252 unsigned connection_close:1; | 253 unsigned connection_close:1; |
253 unsigned chunked:1; | 254 unsigned chunked:1; |
254 } ngx_http_upstream_headers_in_t; | 255 } ngx_http_upstream_headers_in_t; |
255 | 256 |
361 ngx_str_t value; | 362 ngx_str_t value; |
362 ngx_uint_t skip_empty; | 363 ngx_uint_t skip_empty; |
363 } ngx_http_upstream_param_t; | 364 } ngx_http_upstream_param_t; |
364 | 365 |
365 | 366 |
367 ngx_int_t ngx_http_upstream_cookie_variable(ngx_http_request_t *r, | |
368 ngx_http_variable_value_t *v, uintptr_t data); | |
366 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r, | 369 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r, |
367 ngx_http_variable_value_t *v, uintptr_t data); | 370 ngx_http_variable_value_t *v, uintptr_t data); |
368 | 371 |
369 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r); | 372 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r); |
370 void ngx_http_upstream_init(ngx_http_request_t *r); | 373 void ngx_http_upstream_init(ngx_http_request_t *r); |