Mercurial > hg > nginx-vendor-current
annotate src/http/modules/ngx_http_log_module.h @ 142:84910468f6de NGINX_0_3_18
nginx 0.3.18
*) Feature: the "server_names" directive supports the ".domain.tld"
names.
*) Feature: the "server_names" directive uses the hash for the
"*.domain.tld" names and more effective hash for usual names.
*) Change: the "server_names_hash_max_size" and
"server_names_hash_bucket_size" directives.
*) Change: the "server_names_hash" and "server_names_hash_threshold"
directives were canceled.
*) Feature: the "valid_referers" directive uses the hash site names.
*) Change: now the "valid_referers" directive checks the site names
only without the URI part.
*) Bugfix: some ".domain.tld" names incorrectly processed by the
ngx_http_map_module.
*) Bugfix: segmentation fault was occurred if configuration file did
not exist; bug appeared in 0.3.12.
*) Bugfix: on 64-bit platforms segmentation fault may occurred on
start; bug appeared in 0.3.16.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Dec 2005 00:00:00 +0300 |
parents | d25a1d6034f1 |
children |
rev | line source |
---|---|
50 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_HTTP_LOG_MODULE_H_INCLUDED_ | |
8 #define _NGX_HTTP_LOG_MODULE_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_http.h> | |
14 | |
15 | |
16 typedef struct ngx_http_log_op_s ngx_http_log_op_t; | |
17 | |
18 typedef u_char *(*ngx_http_log_op_run_pt) (ngx_http_request_t *r, u_char *buf, | |
19 ngx_http_log_op_t *op); | |
20 | |
21 typedef size_t (*ngx_http_log_op_getlen_pt) (ngx_http_request_t *r, | |
22 uintptr_t data); | |
23 | |
24 typedef ngx_int_t (*ngx_http_log_op_compile_pt) (ngx_conf_t *cf, | |
25 ngx_http_log_op_t *op, ngx_str_t *value); | |
26 | |
27 | |
28 struct ngx_http_log_op_s { | |
29 size_t len; | |
30 ngx_http_log_op_getlen_pt getlen; | |
31 ngx_http_log_op_run_pt run; | |
32 uintptr_t data; | |
33 }; | |
34 | |
35 | |
36 typedef struct { | |
37 ngx_str_t name; | |
38 size_t len; | |
39 ngx_http_log_op_compile_pt compile; | |
40 ngx_http_log_op_getlen_pt getlen; | |
41 ngx_http_log_op_run_pt run; | |
42 } ngx_http_log_op_name_t; | |
43 | |
44 | |
45 extern ngx_http_log_op_name_t ngx_http_log_fmt_ops[]; | |
46 | |
47 | |
48 #endif /* _NGX_HTTP_LOG_MODULE_H_INCLUDED_ */ |