comparison src/http/ngx_http_variables.h @ 320:95183808f549 NGINX_0_6_4

nginx 0.6.4 *) Security: the "msie_refresh" directive allowed XSS. Thanks to Maxim Boguk. *) Change: the "proxy_store" and "fastcgi_store" directives were changed. *) Feature: the "proxy_store_access" and "fastcgi_store_access" directives. *) Bugfix: nginx did not work on Solaris/sparc64 if it was built by Sun Studio. Thanks to Andrei Nigmatulin. *) Workaround: for Sun Studio 12. Thanks to Jiang Hong.
author Igor Sysoev <http://sysoev.ru>
date Tue, 17 Jul 2007 00:00:00 +0400
parents 2ceaee987f37
children 10cc350ed8a1
comparison
equal deleted inserted replaced
319:6ccd0af7f704 320:95183808f549
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