Mercurial > hg > nginx-vendor-0-7
annotate src/core/ngx_core.h @ 502:89dc5654117c NGINX_0_7_63
nginx 0.7.63
*) Security: now "/../" are disabled in "Destination" request header
line.
*) Change: minimum supported OpenSSL version is 0.9.7.
*) Change: the "ask" parameter of the "ssl_verify_client" directive was
changed to the "optional" parameter and now it checks a client
certificate if it was offered.
Thanks to Brice Figureau.
*) Feature: now the "-V" switch shows TLS SNI support.
*) Feature: the $ssl_client_verify variable.
Thanks to Brice Figureau.
*) Feature: the "ssl_crl" directive.
Thanks to Brice Figureau.
*) Bugfix: the $ssl_client_cert variable usage corrupted memory; the
bug had appeared in 0.7.7.
Thanks to Sergey Zhuravlev.
*) Feature: now the start cache loader runs in a separate process; this
should improve large caches handling.
*) Feature: now temporary files and permanent storage area may reside
at different file systems.
*) Bugfix: nginx counted incorrectly disk cache size.
*) Change: now directive "gzip_disable msie6" does not disable gzipping
for MSIE 6.0 SV1.
*) Bugfix: nginx always added "Vary: Accept-Encoding" response header
line, if both "gzip_static" and "gzip_vary" were on.
*) Feature: the "proxy" parameter of the "geo" directive.
*) Feature: the ngx_http_geoip_module.
*) Feature: the "limit_rate_after" directive.
Thanks to Ivan Debnar.
*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
directives.
*) Bugfix: now "limit_req" directive conforms to the leaky bucket
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: in ngx_http_limit_req_module.
Thanks to Maxim Dounin.
*) Bugfix: now nginx allows underscores in a request method.
*) Bugfix: "proxy_pass_header" and "fastcgi_pass_header" directives did
not pass to a client the "X-Accel-Redirect", "X-Accel-Limit-Rate",
"X-Accel-Buffering", and "X-Accel-Charset" lines from backend
response header.
Thanks to Maxim Dounin.
*) Bugfix: in handling "Last-Modified" and "Accept-Ranges" backend
response header lines; the bug had appeared in 0.7.44.
Thanks to Maxim Dounin.
*) Feature: the "image_filter_transparency" directive.
*) Feature: the "image_filter" directive supports variables for setting
size.
*) Bugfix: in PNG alpha-channel support in the
ngx_http_image_filter_module.
*) Bugfix: in transparency support in the ngx_http_image_filter_module.
*) Feature: now several "perl_modules" directives may be used.
*) Bugfix: ngx_http_perl_module responses did not work in subrequests.
*) Bugfix: nginx sent '\0' in a "Location" response header line on
MKCOL request.
Thanks to Xie Zhenye.
*) Bugfix: an "error_page" directive did not redirect a 413 error; the
bug had appeared in 0.6.10.
*) Bugfix: in memory allocation error handling.
Thanks to Maxim Dounin and Kirill A. Korinskiy.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 00:00:00 +0300 |
parents | 79c5df00501e |
children |
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; | |
126 | 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; | |
22 typedef struct ngx_connection_s ngx_connection_t; | |
23 | |
24 typedef void (*ngx_event_handler_pt)(ngx_event_t *ev); | |
96 | 25 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); |
0 | 26 |
27 | |
28 #define NGX_OK 0 | |
29 #define NGX_ERROR -1 | |
30 #define NGX_AGAIN -2 | |
31 #define NGX_BUSY -3 | |
32 #define NGX_DONE -4 | |
33 #define NGX_DECLINED -5 | |
34 #define NGX_ABORT -6 | |
35 | |
36 | |
108 | 37 #include <ngx_errno.h> |
0 | 38 #include <ngx_atomic.h> |
108 | 39 #include <ngx_thread.h> |
106 | 40 #include <ngx_rbtree.h> |
0 | 41 #include <ngx_time.h> |
42 #include <ngx_socket.h> | |
406 | 43 #include <ngx_string.h> |
44 #include <ngx_files.h> | |
154 | 45 #include <ngx_shmem.h> |
0 | 46 #include <ngx_process.h> |
47 #include <ngx_user.h> | |
48 #include <ngx_parse.h> | |
49 #include <ngx_log.h> | |
50 #include <ngx_alloc.h> | |
51 #include <ngx_palloc.h> | |
52 #include <ngx_buf.h> | |
348 | 53 #include <ngx_queue.h> |
0 | 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_crc.h> | |
250 | 59 #include <ngx_crc32.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> |
160 | 65 #include <ngx_shmtx.h> |
258 | 66 #include <ngx_slab.h> |
272 | 67 #include <ngx_inet.h> |
68 #include <ngx_cycle.h> | |
200 | 69 #if (NGX_OPENSSL) |
70 #include <ngx_event_openssl.h> | |
71 #endif | |
0 | 72 #include <ngx_process_cycle.h> |
73 #include <ngx_conf_file.h> | |
348 | 74 #include <ngx_resolver.h> |
332 | 75 #include <ngx_open_file_cache.h> |
0 | 76 #include <ngx_os.h> |
77 #include <ngx_connection.h> | |
78 | |
79 | |
80 #define LF (u_char) 10 | |
81 #define CR (u_char) 13 | |
82 #define CRLF "\x0d\x0a" | |
83 | |
84 | |
106 | 85 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) |
86 | |
160 | 87 void ngx_cpuinfo(void); |
88 | |
106 | 89 |
0 | 90 #endif /* _NGX_CORE_H_INCLUDED_ */ |