comparison src/os/unix/ngx_darwin_config.h @ 390:0b6053502c55 NGINX_0_7_7

nginx 0.7.7 *) Change: now the EAGAIN error returned by connect() is not considered as temporary error. *) Change: now the $ssl_client_cert variable value is a certificate with TAB character intended before each line except first one; an unchanged certificate is available in the $ssl_client_raw_cert variable. *) Feature: the "ask" parameter in the "ssl_verify_client" directive. *) Feature: byte-range processing improvements. Thanks to Maxim Dounin. *) Feature: the "directio" directive. *) Feature: MacOSX 1.5 sendfile() support. *) Bugfix: now in MacOSX and Cygwin locations are tested in case insensitive mode; however, the compare is provided by single-byte locales only. *) Bugfix: mail proxy SSL connections hanged, if select, poll, or /dev/poll methods were used. *) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
author Igor Sysoev <http://sysoev.ru>
date Wed, 30 Jul 2008 00:00:00 +0400
parents
children 6866b490272e
comparison
equal deleted inserted replaced
389:930e48a26dde 390:0b6053502c55
1
2 /*
3 * Copyright (C) Igor Sysoev
4 */
5
6
7 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_
8 #define _NGX_DARWIN_CONFIG_H_INCLUDED_
9
10
11
12 #include <sys/types.h>
13 #include <sys/time.h>
14 #include <unistd.h>
15 #include <inttypes.h>
16 #include <stdarg.h>
17 #include <stddef.h> /* offsetof() */
18 #include <stdio.h>
19 #include <stdlib.h>
20 #include <errno.h>
21 #include <string.h>
22 #include <signal.h>
23 #include <pwd.h>
24 #include <grp.h>
25 #include <dirent.h>
26 #include <glob.h>
27
28 #include <sys/filio.h> /* FIONBIO */
29 #include <sys/ioctl.h>
30 #include <sys/uio.h>
31 #include <sys/stat.h>
32 #include <fcntl.h>
33
34 #include <sys/wait.h>
35 #include <sys/mman.h>
36 #include <sys/resource.h>
37 #include <sched.h>
38
39 #include <sys/socket.h>
40 #include <netinet/in.h>
41 #include <netinet/tcp.h> /* TCP_NODELAY */
42 #include <arpa/inet.h>
43 #include <netdb.h>
44 #include <sys/un.h>
45
46 #include <sys/sysctl.h>
47 #include <xlocale.h>
48
49
50 #ifndef IOV_MAX
51 #define IOV_MAX 64
52 #endif
53
54
55 #include <ngx_auto_config.h>
56
57
58 #if (NGX_HAVE_POLL)
59 #include <poll.h>
60 #endif
61
62
63 #if (NGX_HAVE_KQUEUE)
64 #include <sys/event.h>
65 #endif
66
67
68 #define NGX_LISTEN_BACKLOG -1
69
70
71 #ifndef NGX_HAVE_INHERITED_NONBLOCK
72 #define NGX_HAVE_INHERITED_NONBLOCK 1
73 #endif
74
75
76 #ifndef NGX_HAVE_CASELESS_FILESYSTEM
77 #define NGX_HAVE_CASELESS_FILESYSTEM 1
78 #endif
79
80
81 #define NGX_HAVE_OS_SPECIFIC_INIT 1
82
83
84 extern char **environ;
85
86
87 #endif /* _NGX_DARWIN_CONFIG_H_INCLUDED_ */