Mercurial > hg > nginx-vendor-0-6
annotate src/os/unix/ngx_solaris_config.h @ 326:9fc4ab6673f9 NGINX_0_6_7
nginx 0.6.7
*) Change: now the paths specified in the "include",
"auth_basic_user_file", "perl_modules", "ssl_certificate",
"ssl_certificate_key", and "ssl_client_certificate" directives are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.
*) Change: the --sysconfdir=PATH option in configure was canceled.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "server_name" and "valid_referers" directives support
regular expressions.
*) Feature: the "server" directive in the "upstream" context supports
the "backup" parameter.
*) Feature: the ngx_http_perl_module supports the
$r->discard_request_body.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Bugfix: if an response different than 200 was returned to an request
with body and connection went to the keep-alive state after the
request, then nginx returned 400 for the next request.
*) Bugfix: a segmentation fault occurred in worker process if invalid
address was set in the "auth_http" directive.
*) Bugfix: now nginx uses default listen backlog value 511 on all
platforms except FreeBSD.
Thanks to Jiang Hong.
*) Bugfix: a worker process may got caught in an endless loop, if an
"server" inside "upstream" block was marked as "down"; bug appeared
in 0.6.6.
*) Bugfix: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Aug 2007 00:00:00 +0400 |
parents | 3dbecd747fbb |
children |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_ | |
8 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_ | |
9 | |
10 | |
284 | 11 #ifndef _REENTRANT |
0 | 12 #define _REENTRANT |
284 | 13 #endif |
0 | 14 |
15 #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */ | |
16 | |
17 #include <sys/types.h> | |
18 #include <sys/time.h> | |
19 #include <unistd.h> | |
20 #include <stdarg.h> | |
21 #include <stddef.h> /* offsetof() */ | |
22 #include <stdio.h> | |
23 #include <stdlib.h> | |
24 #include <errno.h> | |
25 #include <string.h> | |
26 #include <signal.h> | |
27 #include <pwd.h> | |
28 #include <grp.h> | |
29 #include <dirent.h> | |
238 | 30 #include <glob.h> |
0 | 31 |
4 | 32 #include <sys/filio.h> /* FIONBIO */ |
0 | 33 #include <sys/uio.h> |
34 #include <sys/stat.h> | |
35 #include <fcntl.h> | |
36 | |
37 #include <sys/wait.h> | |
38 #include <sys/mman.h> | |
39 #include <sys/resource.h> | |
40 #include <sched.h> | |
41 | |
42 #include <sys/socket.h> | |
43 #include <netinet/in.h> | |
2 | 44 #include <netinet/tcp.h> /* TCP_NODELAY */ |
0 | 45 #include <arpa/inet.h> |
46 #include <netdb.h> | |
28 | 47 #include <sys/un.h> |
0 | 48 |
49 #include <sys/systeminfo.h> | |
50 #include <limits.h> /* IOV_MAX */ | |
51 #include <inttypes.h> | |
52 | 52 #include <crypt.h> |
0 | 53 |
130 | 54 #define NGX_ALIGNMENT _MAX_ALIGNMENT |
55 | |
0 | 56 #include <ngx_auto_config.h> |
57 | |
58 | |
18 | 59 #if (NGX_HAVE_POLL) |
0 | 60 #include <poll.h> |
61 #endif | |
62 | |
63 | |
18 | 64 #if (NGX_HAVE_SENDFILE) |
2 | 65 #include <sys/sendfile.h> |
66 #endif | |
67 | |
68 | |
18 | 69 #if (NGX_HAVE_AIO) |
0 | 70 #include <aio.h> |
71 #endif | |
72 | |
73 | |
18 | 74 #if (NGX_HAVE_DEVPOLL) |
0 | 75 #include <sys/ioctl.h> |
76 #include <sys/devpoll.h> | |
77 #endif | |
78 | |
79 | |
236 | 80 #if (NGX_HAVE_EVENTPORT) |
81 #include <port.h> | |
82 #endif | |
83 | |
84 | |
326 | 85 #define NGX_LISTEN_BACKLOG 511 |
86 | |
87 | |
18 | 88 #ifndef NGX_HAVE_INHERITED_NONBLOCK |
89 #define NGX_HAVE_INHERITED_NONBLOCK 1 | |
0 | 90 #endif |
91 | |
92 | |
18 | 93 #ifndef NGX_HAVE_SO_SNDLOWAT |
24 | 94 /* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */ |
18 | 95 #define NGX_HAVE_SO_SNDLOWAT 0 |
2 | 96 #endif |
97 | |
98 | |
88 | 99 #define NGX_HAVE_OS_SPECIFIC_INIT 1 |
100 | |
101 | |
150 | 102 extern char **environ; |
103 | |
104 | |
0 | 105 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */ |