comparison src/http/ngx_http_upstream.h @ 654:753f505670e0 NGINX_1_1_11

nginx 1.1.11 *) Feature: the "so_keepalive" parameter of the "listen" directive. Thanks to Vsevolod Stakhov. *) Feature: the "if_not_empty" parameter of the "fastcgi/scgi/uwsgi_param" directives. *) Feature: the $https variable. *) Feature: the "proxy_redirect" directive supports variables in the first parameter. *) Feature: the "proxy_redirect" directive supports regular expressions. *) Bugfix: the $sent_http_cache_control variable might contain a wrong value if the "expires" directive was used. Thanks to Yichun Zhang. *) Bugfix: the "read_ahead" directive might not work combined with "try_files" and "open_file_cache". *) Bugfix: a segmentation fault might occur in a worker process if small time was used in the "inactive" parameter of the "proxy_cache_path" directive. *) Bugfix: responses from cache might hang.
author Igor Sysoev <http://sysoev.ru>
date Mon, 12 Dec 2011 00:00:00 +0400
parents 6f21ae02fb01
children 9d21dad0b5a1
comparison
equal deleted inserted replaced
653:8c96af2112c1 654:753f505670e0
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