Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 4328:d15a00e6d9e6
Added the ngx_http_upstream_param_set_slot().
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 09 Dec 2011 13:19:57 +0000 |
parents | cf6a3467b5db |
children | 70ba81827472 |
comparison
equal
deleted
inserted
replaced
4327:73d37e1ccb91 | 4328:d15a00e6d9e6 |
---|---|
326 ngx_uint_t status; | 326 ngx_uint_t status; |
327 ngx_uint_t mask; | 327 ngx_uint_t mask; |
328 } ngx_http_upstream_next_t; | 328 } ngx_http_upstream_next_t; |
329 | 329 |
330 | 330 |
331 typedef struct { | |
332 ngx_str_t key; | |
333 ngx_str_t value; | |
334 ngx_uint_t skip_empty; | |
335 } ngx_http_upstream_param_t; | |
336 | |
337 | |
331 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r, | 338 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r, |
332 ngx_http_variable_value_t *v, uintptr_t data); | 339 ngx_http_variable_value_t *v, uintptr_t data); |
333 | 340 |
334 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r); | 341 ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r); |
335 void ngx_http_upstream_init(ngx_http_request_t *r); | 342 void ngx_http_upstream_init(ngx_http_request_t *r); |
336 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, | 343 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, |
337 ngx_url_t *u, ngx_uint_t flags); | 344 ngx_url_t *u, ngx_uint_t flags); |
338 char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, | 345 char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, |
339 void *conf); | 346 void *conf); |
347 char *ngx_http_upstream_param_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, | |
348 void *conf); | |
340 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, | 349 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, |
341 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev, | 350 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev, |
342 ngx_str_t *default_hide_headers, ngx_hash_init_t *hash); | 351 ngx_str_t *default_hide_headers, ngx_hash_init_t *hash); |
343 | 352 |
344 | 353 |