Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_config.h @ 4:4b2dafa26fe2 NGINX_0_1_2
nginx 0.1.2
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS
options in configure.
*) Feature: the server_name directive supports *.domain.tld.
*) Bugfix: the portability improvements.
*) Bugfix: if configuration file was set in command line, the
reconfiguration was impossible; bug appeared in 0.1.1.
*) Bugfix: proxy module may get caught in an endless loop when sendfile
is not used.
*) Bugfix: with sendfile the response was not recoded according to the
charset module directives; bug appeared in 0.1.1.
*) Bugfix: very seldom bug in the kqueue processing.
*) Bugfix: the gzip module compressed the proxied responses that was
already compressed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 21 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | 46833bd150cb |
comparison
equal
deleted
inserted
replaced
3:8beaf7b3241f | 4:4b2dafa26fe2 |
---|---|
6 | 6 |
7 #ifndef _NGX_CONFIG_H_INCLUDED_ | 7 #ifndef _NGX_CONFIG_H_INCLUDED_ |
8 #define _NGX_CONFIG_H_INCLUDED_ | 8 #define _NGX_CONFIG_H_INCLUDED_ |
9 | 9 |
10 | 10 |
11 #include <ngx_auto_headers.h> | |
12 | |
13 | |
11 #if defined __DragonFly__ && !defined __FreeBSD__ | 14 #if defined __DragonFly__ && !defined __FreeBSD__ |
12 #define __FreeBSD__ 4 | 15 #define __FreeBSD__ 4 |
13 #define __FreeBSD_version 480101 | 16 #define __FreeBSD_version 480101 |
14 #endif | 17 #endif |
15 | 18 |
16 | 19 |
17 #if defined __FreeBSD__ | 20 #if (NGX_FREEBSD) |
18 #include <ngx_freebsd_config.h> | 21 #include <ngx_freebsd_config.h> |
19 | 22 |
20 | 23 |
21 #elif defined __linux__ | 24 #elif (NGX_LINUX) |
22 #include <ngx_linux_config.h> | 25 #include <ngx_linux_config.h> |
23 | 26 |
24 | 27 |
25 /* Solaris */ | 28 #elif (NGX_SOLARIS) |
26 #elif defined sun && (defined __svr4__ || defined __SVR4) | |
27 #include <ngx_solaris_config.h> | 29 #include <ngx_solaris_config.h> |
28 | 30 |
29 | 31 |
30 #elif defined _WIN32 | 32 #elif (NGX_WIN32) |
31 #include <ngx_win32_config.h> | 33 #include <ngx_win32_config.h> |
32 | 34 |
33 | 35 |
34 #else /* posix */ | 36 #else /* POSIX */ |
35 #include <ngx_posix_config.h> | 37 #include <ngx_posix_config.h> |
36 | 38 |
37 #endif | 39 #endif |
38 | 40 |
39 | 41 |
87 /* TODO: auto */ | 89 /* TODO: auto */ |
88 #define NGX_INT32_LEN sizeof("-2147483648") - 1 | 90 #define NGX_INT32_LEN sizeof("-2147483648") - 1 |
89 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 | 91 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 |
90 #define NGX_OFF_T_LEN sizeof("-9223372036854775808") - 1 | 92 #define NGX_OFF_T_LEN sizeof("-9223372036854775808") - 1 |
91 | 93 |
94 #define NGX_MAX_INT_LEN (sizeof("-9223372036854775808") - 1) | |
92 | 95 |
93 #if (SOLARIS) | 96 |
97 #if (NGX_SOLARIS) | |
94 | 98 |
95 /* TODO: auto_conf */ | 99 /* TODO: auto_conf */ |
96 #define NGX_ALIGN (_MAX_ALIGNMENT - 1) /* platform word */ | 100 #define NGX_ALIGN (_MAX_ALIGNMENT - 1) /* platform word */ |
97 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */ | 101 #define NGX_ALIGN_CAST (unsigned long) /* size of the pointer */ |
98 | 102 |