comparison src/http/ngx_http_variables.h @ 318:3021f899881a NGINX_0_5_29

nginx 0.5.29 *) Feature: $nginx_version variable. Thanks to Nick S. Grechukh. *) Bugfix: if the FastCGI header was split in records, then nginx passed garbage in the header to a client. *) Bugfix: Sun Studio compatibility on Solaris/amd64 and Solaris/sparc64. Thanks to Jiang Hong and Andrei Nigmatulin. *) Bugfix: of minor potential bugs. Thanks to Coverity's Scan.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Jul 2007 00:00:00 +0400
parents 2ceaee987f37
children 26ff8d6b618d
comparison
equal deleted inserted replaced
317:c012154f05d1 318:3021f899881a
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_event.h> 13 #include <ngx_event.h>
14 #include <ngx_http.h> 14 #include <ngx_http.h>
15 15
16 16
17 typedef struct { 17 typedef ngx_variable_value_t ngx_http_variable_value_t;
18 unsigned len:29;
19
20 unsigned valid:1;
21 unsigned no_cachable:1;
22 unsigned not_found:1;
23
24 u_char *data;
25 } ngx_http_variable_value_t;
26 18
27 #define ngx_http_variable(v) { sizeof(v) - 1, 1, 0, 0, (u_char *) v } 19 #define ngx_http_variable(v) { sizeof(v) - 1, 1, 0, 0, (u_char *) v }
28 20
29 typedef struct ngx_http_variable_s ngx_http_variable_t; 21 typedef struct ngx_http_variable_s ngx_http_variable_t;
30 22