Mercurial > hg > nginx-vendor-0-5
annotate src/os/unix/ngx_solaris_config.h @ 324:7cf404023f50 NGINX_0_5_32
nginx 0.5.32
*) Change: now nginx tries to set the "worker_priority",
"worker_rlimit_nofile", "worker_rlimit_core", and
"worker_rlimit_sigpending" without super-user privileges.
*) Change: now nginx escapes space and "%" in request to a mail proxy
authentication server.
*) Change: now nginx escapes "%" in $memcached_key variable.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Feature: the mail proxy supports AUTHENTICATE in IMAP mode.
Thanks to Maxim Dounin.
*) Feature: the mail proxy supports STARTTLS in SMTP mode.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not close directory file on HEAD request if
autoindex was used.
Thanks to Arkadiusz Patyk.
*) Bugfix: the "proxy_hide_header" and "fastcgi_hide_header" directives
did not hide response header lines whose name was longer than 32
characters.
Thanks to Manlio Perillo.
*) Bugfix: active connection counter always increased if mail proxy was
used.
*) Bugfix: if backend returned response header only using non-buffered
proxy, then nginx closed backend connection on timeout.
*) Bugfix: nginx did not support several "Connection" request header
lines.
*) Bugfix: a charset set by the "charset" directive was not appended to
the "Content-Type" header set by $r->send_http_header().
*) Bugfix: a segmentation fault might occur in worker process if
/dev/poll method was used.
*) Bugfix: nginx did not work on FreeBSD/sparc64.
*) 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: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
*) Bugfix: if the same host without specified port was used as backend
for HTTP and HTTPS, then nginx used only one port - 80 or 443.
*) Bugfix: the "proxy_ignore_client_abort" and
"fastcgi_ignore_client_abort" directives did not work; bug appeared
in 0.5.13.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 Sep 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 | |
324 | 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_ */ |