Mercurial > hg > nginx-vendor-0-7
comparison src/http/ngx_http_variables.h @ 376:edf1cb6c328e NGINX_0_7_0
nginx 0.7.0
*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
\xXX in an access_log.
Thanks to Maxim Dounin.
*) Change: now nginx allows several "Host" request header line.
*) Feature: the "modified" flag in the "expires" directive.
*) Feature: the $uid_got and $uid_set variables may be used at any
request processing stage.
*) Feature: the $hostname variable.
Thanks to Andrei Nigmatulin.
*) Feature: DESTDIR support.
Thanks to Todd A. Fisher and Andras Voroskoi.
*) Bugfix: a segmentation fault might occur in worker process on Linux,
if keepalive was enabled.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 19 May 2008 00:00:00 +0400 |
parents | 10cc350ed8a1 |
children | 79c5df00501e |
comparison
equal
deleted
inserted
replaced
375:52f3c9c7eff0 | 376:edf1cb6c328e |
---|---|
14 #include <ngx_http.h> | 14 #include <ngx_http.h> |
15 | 15 |
16 | 16 |
17 typedef ngx_variable_value_t ngx_http_variable_value_t; | 17 typedef ngx_variable_value_t ngx_http_variable_value_t; |
18 | 18 |
19 #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, 0, (u_char *) v } |
20 | 20 |
21 typedef struct ngx_http_variable_s ngx_http_variable_t; | 21 typedef struct ngx_http_variable_s ngx_http_variable_t; |
22 | 22 |
23 typedef void (*ngx_http_set_variable_pt) (ngx_http_request_t *r, | 23 typedef void (*ngx_http_set_variable_pt) (ngx_http_request_t *r, |
24 ngx_http_variable_value_t *v, uintptr_t data); | 24 ngx_http_variable_value_t *v, uintptr_t data); |