comparison src/http/ngx_http_upstream.c @ 7077:2a288909abc6

Variables: macros for null variables. No functional changes.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 01 Aug 2017 14:28:33 +0300
parents f583559aadc7
children acc2cddc7b45
comparison
equal deleted inserted replaced
7076:1b82e86dd3e7 7077:2a288909abc6
425 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 }, 425 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 },
426 426
427 { ngx_string("upstream_cookie_"), NULL, ngx_http_upstream_cookie_variable, 427 { ngx_string("upstream_cookie_"), NULL, ngx_http_upstream_cookie_variable,
428 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 }, 428 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 },
429 429
430 { ngx_null_string, NULL, NULL, 0, 0, 0 } 430 ngx_http_null_variable
431 }; 431 };
432 432
433 433
434 static ngx_http_upstream_next_t ngx_http_upstream_next_errors[] = { 434 static ngx_http_upstream_next_t ngx_http_upstream_next_errors[] = {
435 { 500, NGX_HTTP_UPSTREAM_FT_HTTP_500 }, 435 { 500, NGX_HTTP_UPSTREAM_FT_HTTP_500 },