Mercurial > hg > nginx-vendor-0-7
annotate src/os/unix/ngx_posix_config.h @ 506:b9fdcaf2062b NGINX_0_7_65
nginx 0.7.65
*) Security: now nginx/Windows ignores trailing spaces in URI.
Thanks to Dan Crowley, Core Security Technologies.
*) Security: now nginx/Windows ignores short files names.
Thanks to Dan Crowley, Core Security Technologies.
*) Change: now the "009" status code is written to an access log for
proxied HTTP/0.9 responses.
*) Change: now the default buffer size of the
"large_client_header_buffers" directive is 8K.
Thanks to Andrew Cholakian.
*) Change: now default SSL ciphers are "HIGH:!ADH:!MD5".
*) Change: now SSLv2 protocol is disabled by default.
*) Change: now $host variable value is always low case.
*) Feature: the conf/fastcgi.conf for simple FastCGI configurations.
*) Feature: now URI part is not required a "proxy_pass" directive if
variables are used.
*) Feature: the $ssl_session_id variable.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then $upstream_response_time
variable may have abnormally large value; the bug had appeared in
0.7.63.
*) Bugfix: if the "expires modified" set date in the past, then a
negative number was set in the "Cache-Control" response header
line.
Thanks to Alex Kapranoff.
*) Bugfix: nginx closed a connection if a cached response had an empty
body.
Thanks to Piotr Sikora.
*) Bugfix: nginx cached a 304 response if there was the "If-None-Match"
header line in a proxied request.
Thanks to Tim Dettrick and David Kostal.
*) Bugfix: nginx did not treat a comma as separator in the
"Cache-Control" backend response header line.
*) Bugfix: cached HTTP/0.9 responses were handled incorrectly.
*) Bugfix: nginx sent gzipped responses to clients those do not support
gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
in 0.8.16.
*) Bugfix: nginx always added "Content-Encoding: gzip" response header
line in 304 responses sent by ngx_http_gzip_static_module.
*) Bugfix: the "!-x" operator did not work.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
limit_rate was used in HTTPS server.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process while
$limit_rate logging.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not support dates in 2038 year on 32-bit platforms;
*) Bugfix: nginx/Windows tried to delete a temporary file twice if the
file should replace an already existent file.
*) Bugfix: nginx/Windows tried to rename a temporary file twice if the
file should replace an already existent file.
*) Bugfix: nginx/Windows might not create temporary file, a cache file,
or "proxy/fastcgi_store"d file if a worker had no enough access
rights for top level directories.
*) Bugfix: in UTF-8 encoding support by "try_files" directive in
nginx/Windows.
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
Thanks to Maxim Dounin.
*) Bugfix: the ngx_http_autoindex_module did not show the trailing
slash in links to a directory; the bug had appeared in 0.7.15.
*) Bugfix: nginx did not close a log file set by the --error-log-path
configuration option; the bug had appeared in 0.7.53.
*) Bugfix: "addition_types" directive was incorrectly named
"addtion_types".
*) Bugfix: invalid request line in $request variable was written in
access_log only if error_log was set to "info" or "debug" level.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 00:00:00 +0000 |
parents | 09f0ef15d544 |
children |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_POSIX_CONFIG_H_INCLUDED_ | |
8 #define _NGX_POSIX_CONFIG_H_INCLUDED_ | |
9 | |
10 | |
64 | 11 #if (NGX_HPUX) |
4 | 12 #define _XOPEN_SOURCE |
13 #define _XOPEN_SOURCE_EXTENDED 1 | |
14 #endif | |
15 | |
16 | |
64 | 17 #if (NGX_TRU64) |
16 | 18 #define _REENTRANT |
19 #endif | |
20 | |
21 | |
342 | 22 #ifdef __CYGWIN__ |
23 #define timezonevar /* timezone is variable */ | |
24 #define NGX_BROKEN_SCM_RIGHTS 1 | |
25 #endif | |
26 | |
27 | |
0 | 28 #include <sys/types.h> |
29 #include <sys/time.h> | |
4 | 30 #if (NGX_HAVE_UNISTD_H) |
0 | 31 #include <unistd.h> |
4 | 32 #endif |
33 #if (NGX_HAVE_INTTYPES_H) | |
34 #include <inttypes.h> | |
35 #endif | |
0 | 36 #include <stdarg.h> |
37 #include <stddef.h> /* offsetof() */ | |
38 #include <stdio.h> | |
39 #include <stdlib.h> | |
40 #include <errno.h> | |
41 #include <string.h> | |
42 #include <signal.h> | |
43 #include <pwd.h> | |
44 #include <grp.h> | |
45 #include <dirent.h> | |
238 | 46 #include <glob.h> |
472 | 47 #if (NGX_HAVE_SYS_PARAM_H) |
48 #include <sys/param.h> /* statfs() */ | |
49 #endif | |
468 | 50 #if (NGX_HAVE_SYS_MOUNT_H) |
51 #include <sys/mount.h> /* statfs() */ | |
52 #endif | |
53 #if (NGX_HAVE_SYS_STATVFS_H) | |
54 #include <sys/statvfs.h> /* statvfs() */ | |
55 #endif | |
0 | 56 |
4 | 57 #if (NGX_HAVE_SYS_FILIO_H) |
58 #include <sys/filio.h> /* FIONBIO */ | |
59 #endif | |
60 #include <sys/ioctl.h> /* FIONBIO */ | |
61 | |
0 | 62 #include <sys/uio.h> |
63 #include <sys/stat.h> | |
64 #include <fcntl.h> | |
65 | |
66 #include <sys/wait.h> | |
67 #include <sys/mman.h> | |
68 #include <sys/resource.h> | |
69 #include <sched.h> | |
70 | |
71 #include <sys/socket.h> | |
72 #include <netinet/in.h> | |
4 | 73 #include <netinet/tcp.h> /* TCP_NODELAY */ |
0 | 74 #include <arpa/inet.h> |
75 #include <netdb.h> | |
28 | 76 #include <sys/un.h> |
0 | 77 |
4 | 78 #if (NGX_HAVE_LIMITS_H) |
79 #include <limits.h> /* IOV_MAX */ | |
80 #endif | |
81 | |
372 | 82 #ifdef __CYGWIN__ |
342 | 83 #include <malloc.h> /* memalign() */ |
84 #endif | |
85 | |
86 #if (NGX_HAVE_CRYPT_H) | |
87 #include <crypt.h> | |
88 #endif | |
89 | |
90 | |
4 | 91 #ifndef IOV_MAX |
92 #define IOV_MAX 16 | |
93 #endif | |
94 | |
95 | |
0 | 96 #include <ngx_auto_config.h> |
97 | |
98 | |
18 | 99 #if (NGX_HAVE_POLL) |
0 | 100 #include <poll.h> |
101 #endif | |
102 | |
103 | |
18 | 104 #if (NGX_HAVE_KQUEUE) |
4 | 105 #include <sys/event.h> |
106 #endif | |
107 | |
108 | |
18 | 109 #if (NGX_HAVE_DEVPOLL) |
4 | 110 #include <sys/ioctl.h> |
111 #include <sys/devpoll.h> | |
112 #endif | |
113 | |
114 | |
326 | 115 #define NGX_LISTEN_BACKLOG 511 |
116 | |
117 | |
4 | 118 #if (__FreeBSD__) && (__FreeBSD_version < 400017) |
119 | |
120 #include <sys/param.h> /* ALIGN() */ | |
121 | |
376 | 122 /* |
366 | 123 * FreeBSD 3.x has no CMSG_SPACE() and CMSG_LEN() and has the broken CMSG_DATA() |
124 */ | |
4 | 125 |
126 #undef CMSG_SPACE | |
127 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) | |
128 | |
366 | 129 #undef CMSG_LEN |
130 #define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l)) | |
131 | |
4 | 132 #undef CMSG_DATA |
133 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) | |
134 | |
135 #endif | |
136 | |
137 | |
150 | 138 extern char **environ; |
139 | |
140 | |
0 | 141 #endif /* _NGX_POSIX_CONFIG_H_INCLUDED_ */ |