Mercurial > hg > nginx-vendor-0-7
annotate src/core/ngx_table.h @ 20:636dad238b63 NGINX_0_1_10
nginx 0.1.10
*) Bugfix: if the request without arguments contains "//", "/./",
"/../" or "%XX" then the lost character in the request line was
lost; bug appeared in 0.1.9.
*) Bugfix: the fix in 0.1.9 for the files bigger than 2G on Linux did
not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 26 Nov 2004 00:00:00 +0300 |
parents | f0b350454894 |
children |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_TABLE_H_INCLUDED_ | |
8 #define _NGX_TABLE_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 typedef ngx_array_t ngx_table_t; | |
16 | |
17 typedef struct { | |
18 ngx_str_t key; | |
19 ngx_str_t value; | |
20 } ngx_table_elt_t; | |
21 | |
22 | |
23 #define ngx_create_table(p, n) ngx_create_array(p, n, 2 * sizeof(ngx_str_t)) | |
24 #define ngx_push_table(t) ngx_push_array(t) | |
25 | |
26 | |
27 #endif /* _NGX_TABLE_H_INCLUDED_ */ |