Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_solaris_config.h @ 366:babd3d9efb62 NGINX_0_6_27
nginx 0.6.27
*) Change: now by default the rtsig method is not built on
Linux 2.6.18+.
*) Change: now a request method is not changed while redirection to a
named location via an "error_page" directive.
*) Feature: the "resolver" and "resolver_timeout" directives in SMTP
proxy.
*) Feature: the "post_action" directive supports named locations.
*) Bugfix: a segmentation fault occurred in worker process, if a
request was redirected from proxy, FastCGI, or memcached location to
static named locations.
*) Bugfix: browsers did not repeat SSL handshake if there is no valid
client certificate in first handshake.
Thanks to Alexander V. Inyukhin.
*) Bugfix: if response code 495-497 was redirected via an "error_page"
directive without code change, then nginx tried to allocate too many
memory.
*) Bugfix: memory leak in long-lived non buffered connections.
*) Bugfix: memory leak in resolver.
*) Bugfix: a segmentation fault occurred in worker process, if a
request was redirected from proxy, FastCGI, or memcached location to
static named locations.
*) Bugfix: in the $proxy_host and $proxy_port variables caching.
Thanks to Sergey Bochenkov.
*) Bugfix: a "proxy_pass" directive with variables used incorrectly the
same port as in another "proxy_pass" directive with the same host
name and without variables.
Thanks to Sergey Bochenkov.
*) Bugfix: an alert "sendmsg() failed (9: Bad file descriptor)" on some
64-bit platforms while reconfiguration.
*) Bugfix: a segmentation fault occurred in worker process, if empty
stub block was used second time in SSI.
*) Bugfix: in copying URI part contained escaped symbols into arguments.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 12 Mar 2008 00:00:00 +0300 |
parents | 9fc4ab6673f9 |
children | 56baf312c1b5 |
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_ */ |