Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_darwin_config.h @ 674:4dcaf40cc702 NGINX_1_3_0
nginx 1.3.0
*) Feature: the "debug_connection" directive now supports IPv6 addresses
and the "unix:" parameter.
*) Feature: the "set_real_ip_from" directive and the "proxy" parameter
of the "geo" directive now support IPv6 addresses.
*) Feature: the "real_ip_recursive", "geoip_proxy", and
"geoip_proxy_recursive" directives.
*) Feature: the "proxy_recursive" parameter of the "geo" directive.
*) Bugfix: a segmentation fault might occur in a worker process if the
"resolver" directive was used.
*) Bugfix: a segmentation fault might occur in a worker process if the
"fastcgi_pass", "scgi_pass", or "uwsgi_pass" directives were used and
backend returned incorrect response.
*) Bugfix: a segmentation fault might occur in a worker process if the
"rewrite" directive was used and new request arguments in a
replacement used variables.
*) Bugfix: nginx might hog CPU if the open file resource limit was
reached.
*) Bugfix: nginx might loop infinitely over backends if the
"proxy_next_upstream" directive with the "http_404" parameter was
used and there were backup servers specified in an upstream block.
*) Bugfix: adding the "down" parameter of the "server" directive might
cause unneeded client redistribution among backend servers if the
"ip_hash" directive was used.
*) Bugfix: socket leak.
Thanks to Yichun Zhang.
*) Bugfix: in the ngx_http_fastcgi_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 15 May 2012 00:00:00 +0400 |
parents | d0f7a625f27c |
children |
rev | line source |
---|---|
390 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
660 | 4 * Copyright (C) Nginx, Inc. |
390 | 5 */ |
6 | |
7 | |
8 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_ | |
9 #define _NGX_DARWIN_CONFIG_H_INCLUDED_ | |
10 | |
11 | |
638 | 12 #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0 |
13 | |
390 | 14 |
15 #include <sys/types.h> | |
16 #include <sys/time.h> | |
17 #include <unistd.h> | |
18 #include <inttypes.h> | |
19 #include <stdarg.h> | |
20 #include <stddef.h> /* offsetof() */ | |
21 #include <stdio.h> | |
22 #include <stdlib.h> | |
23 #include <errno.h> | |
24 #include <string.h> | |
25 #include <signal.h> | |
26 #include <pwd.h> | |
27 #include <grp.h> | |
28 #include <dirent.h> | |
29 #include <glob.h> | |
470 | 30 #include <sys/mount.h> /* statfs() */ |
390 | 31 |
32 #include <sys/filio.h> /* FIONBIO */ | |
33 #include <sys/ioctl.h> | |
34 #include <sys/uio.h> | |
35 #include <sys/stat.h> | |
36 #include <fcntl.h> | |
37 | |
38 #include <sys/wait.h> | |
39 #include <sys/mman.h> | |
40 #include <sys/resource.h> | |
41 #include <sched.h> | |
42 | |
43 #include <sys/socket.h> | |
44 #include <netinet/in.h> | |
45 #include <netinet/tcp.h> /* TCP_NODELAY */ | |
46 #include <arpa/inet.h> | |
47 #include <netdb.h> | |
48 #include <sys/un.h> | |
49 | |
50 #include <sys/sysctl.h> | |
51 #include <xlocale.h> | |
52 | |
53 | |
54 #ifndef IOV_MAX | |
55 #define IOV_MAX 64 | |
56 #endif | |
57 | |
58 | |
59 #include <ngx_auto_config.h> | |
60 | |
61 | |
624 | 62 #if (NGX_HAVE_POSIX_SEM) |
63 #include <semaphore.h> | |
64 #endif | |
65 | |
66 | |
390 | 67 #if (NGX_HAVE_POLL) |
68 #include <poll.h> | |
69 #endif | |
70 | |
71 | |
72 #if (NGX_HAVE_KQUEUE) | |
73 #include <sys/event.h> | |
74 #endif | |
75 | |
76 | |
77 #define NGX_LISTEN_BACKLOG -1 | |
78 | |
79 | |
80 #ifndef NGX_HAVE_INHERITED_NONBLOCK | |
81 #define NGX_HAVE_INHERITED_NONBLOCK 1 | |
82 #endif | |
83 | |
84 | |
85 #ifndef NGX_HAVE_CASELESS_FILESYSTEM | |
86 #define NGX_HAVE_CASELESS_FILESYSTEM 1 | |
87 #endif | |
88 | |
89 | |
90 #define NGX_HAVE_OS_SPECIFIC_INIT 1 | |
646 | 91 #define NGX_HAVE_DEBUG_MALLOC 1 |
390 | 92 |
93 | |
94 extern char **environ; | |
95 | |
96 | |
97 #endif /* _NGX_DARWIN_CONFIG_H_INCLUDED_ */ |