Mercurial > hg > nginx-vendor-current
annotate src/core/ngx_core.h @ 122:d25a1d6034f1 NGINX_0_3_8
nginx 0.3.8
*) Security: nginx now checks URI got from a backend in
"X-Accel-Redirect" header line or in SSI file for the "/../" paths
and zeroes.
*) Change: nginx now does not treat the empty user name in the
"Authorization" header line as valid one.
*) Feature: the "ssl_session_timeout" directives of the
ngx_http_ssl_module and ngx_imap_ssl_module.
*) Feature: the "auth_http_header" directive of the
ngx_imap_auth_http_module.
*) Feature: the "add_header" directive.
*) Feature: the ngx_http_realip_module.
*) Feature: the new variables to use in the "log_format" directive:
$bytes_sent, $apache_bytes_sent, $status, $time_gmt, $uri,
$request_time, $request_length, $upstream_status,
$upstream_response_time, $gzip_ratio, $uid_got, $uid_set,
$connection, $pipe, and $msec. The parameters in the "%name" form
will be canceled soon.
*) Change: now the false variable values in the "if" directive are the
empty string "" and string starting with "0".
*) Bugfix: while using proxied or FastCGI-server nginx may leave
connections and temporary files with client requests in open state.
*) Bugfix: the worker processes did not flush the buffered logs on
graceful exit.
*) Bugfix: if the request URI was changes by the "rewrite" directive
and the request was proxied in location given by regular expression,
then the incorrect request was transferred to backend; bug appeared
in 0.2.6.
*) Bugfix: the "expires" directive did not remove the previous
"Expires" header.
*) Bugfix: nginx may stop to accept requests if the "rtsig" method and
several worker processes were used.
*) Bugfix: the "\"" and "\'" escape symbols were incorrectly handled in
SSI commands.
*) Bugfix: if the response was ended just after the SSI command and
gzipping was used, then the response did not transferred complete or
did not transferred at all.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 09 Nov 2005 00:00:00 +0300 |
parents | cf3d6edb3ad6 |
children | df17fbafec8f |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_CORE_H_INCLUDED_ | |
8 #define _NGX_CORE_H_INCLUDED_ | |
9 | |
10 | |
11 typedef struct ngx_module_s ngx_module_t; | |
12 typedef struct ngx_conf_s ngx_conf_t; | |
13 typedef struct ngx_cycle_s ngx_cycle_t; | |
14 typedef struct ngx_pool_s ngx_pool_t; | |
56 | 15 typedef struct ngx_chain_s ngx_chain_t; |
0 | 16 typedef struct ngx_log_s ngx_log_t; |
17 typedef struct ngx_array_s ngx_array_t; | |
18 typedef struct ngx_open_file_s ngx_open_file_t; | |
19 typedef struct ngx_command_s ngx_command_t; | |
20 typedef struct ngx_file_s ngx_file_t; | |
21 typedef struct ngx_event_s ngx_event_t; | |
28 | 22 typedef struct ngx_peers_s ngx_peers_t; |
0 | 23 typedef struct ngx_connection_s ngx_connection_t; |
24 | |
25 typedef void (*ngx_event_handler_pt)(ngx_event_t *ev); | |
96 | 26 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); |
0 | 27 |
28 | |
29 #define NGX_OK 0 | |
30 #define NGX_ERROR -1 | |
31 #define NGX_AGAIN -2 | |
32 #define NGX_BUSY -3 | |
33 #define NGX_DONE -4 | |
34 #define NGX_DECLINED -5 | |
35 #define NGX_ABORT -6 | |
36 | |
37 | |
108 | 38 #include <ngx_errno.h> |
0 | 39 #include <ngx_atomic.h> |
108 | 40 #include <ngx_thread.h> |
106 | 41 #include <ngx_rbtree.h> |
0 | 42 #include <ngx_time.h> |
43 #include <ngx_socket.h> | |
44 #include <ngx_types.h> | |
45 #include <ngx_shared.h> | |
46 #include <ngx_process.h> | |
47 #include <ngx_user.h> | |
48 #include <ngx_string.h> | |
49 #include <ngx_parse.h> | |
50 #include <ngx_log.h> | |
51 #include <ngx_alloc.h> | |
52 #include <ngx_palloc.h> | |
53 #include <ngx_buf.h> | |
54 #include <ngx_array.h> | |
55 #include <ngx_list.h> | |
56 | 56 #include <ngx_hash.h> |
0 | 57 #include <ngx_file.h> |
58 #include <ngx_files.h> | |
59 #include <ngx_crc.h> | |
4 | 60 #if (NGX_PCRE) |
0 | 61 #include <ngx_regex.h> |
62 #endif | |
34 | 63 #include <ngx_radix_tree.h> |
0 | 64 #include <ngx_times.h> |
65 #include <ngx_inet.h> | |
28 | 66 #if (NGX_HAVE_UNIX_DOMAIN) |
67 #include <ngx_unix_domain.h> | |
68 #endif | |
0 | 69 #include <ngx_cycle.h> |
70 #include <ngx_process_cycle.h> | |
71 #include <ngx_conf_file.h> | |
72 #include <ngx_os.h> | |
73 #if (NGX_OPENSSL) | |
74 #include <ngx_event_openssl.h> | |
75 #endif | |
76 #include <ngx_connection.h> | |
77 | |
78 | |
79 #define LF (u_char) 10 | |
80 #define CR (u_char) 13 | |
81 #define CRLF "\x0d\x0a" | |
82 | |
83 | |
106 | 84 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) |
85 | |
86 | |
0 | 87 #endif /* _NGX_CORE_H_INCLUDED_ */ |