Mercurial > hg > nginx-vendor-current
annotate src/http/modules/ngx_http_log_module.h @ 126:df17fbafec8f NGINX_0_3_10
nginx 0.3.10
*) Change: the "valid_referers" directive and the "$invalid_referer"
variable were moved to the new ngx_http_referer_module from the
ngx_http_rewrite_module.
*) Change: the "$apache_bytes_sent" variable name was changed to
"$body_bytes_sent".
*) Feature: the "$sent_http_..." variables.
*) Feature: the "if" directive supports the "=" and "!=" operations.
*) Feature: the "proxy_pass" directive supports the HTTPS protocol.
*) Feature: the "proxy_set_body" directive.
*) Feature: the "post_action" directive.
*) Feature: the ngx_http_empty_gif_module.
*) Feature: the "worker_cpu_affinity" directive for Linux.
*) Bugfix: the "rewrite" directive did not unescape URI part in
redirect, now it is unescaped except the %00-%25 and %7F-%FF
characters.
*) Bugfix: nginx could not be built by the icc 9.0 compiler.
*) Bugfix: if the SSI was enabled for zero size static file, then the
chunked response was encoded incorrectly.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 15 Nov 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_ */ |