Mercurial > hg > nginx-vendor-0-5
comparison src/os/unix/ngx_solaris_config.h @ 2:cc9f381affaa NGINX_0_1_1
nginx 0.1.1
*) Feature: the gzip_types directive.
*) Feature: the tcp_nodelay directive.
*) Feature: the send_lowat directive is working not only on OSes that
support kqueue NOTE_LOWAT, but also on OSes that support SO_SNDLOWAT.
*) Feature: the setproctitle() emulation for Linux and Solaris.
*) Bugfix: the "Location" header rewrite bug fixed while the proxying.
*) Bugfix: the ngx_http_chunked_module module may get caught in an
endless loop.
*) Bugfix: the /dev/poll module bugs fixed.
*) Bugfix: the responses were corrupted when the temporary files were
used while the proxying.
*) Bugfix: the unescaped requests were passed to the backend.
*) Bugfix: while the build configuration on Linux 2.4 the
--with-poll_module parameter was required.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | 4b2dafa26fe2 |
comparison
equal
deleted
inserted
replaced
1:80bdda0151b0 | 2:cc9f381affaa |
---|---|
38 #include <sys/resource.h> | 38 #include <sys/resource.h> |
39 #include <sched.h> | 39 #include <sched.h> |
40 | 40 |
41 #include <sys/socket.h> | 41 #include <sys/socket.h> |
42 #include <netinet/in.h> | 42 #include <netinet/in.h> |
43 #include <netinet/tcp.h> /* TCP_NODELAY */ | |
43 #include <arpa/inet.h> | 44 #include <arpa/inet.h> |
44 #include <netdb.h> | 45 #include <netdb.h> |
45 | 46 |
46 #include <sys/sendfile.h> | |
47 #include <sys/systeminfo.h> | 47 #include <sys/systeminfo.h> |
48 #include <limits.h> /* IOV_MAX */ | 48 #include <limits.h> /* IOV_MAX */ |
49 #include <inttypes.h> | 49 #include <inttypes.h> |
50 | 50 |
51 #include <ngx_auto_config.h> | 51 #include <ngx_auto_config.h> |
62 #if (HAVE_POLL) | 62 #if (HAVE_POLL) |
63 #include <poll.h> | 63 #include <poll.h> |
64 #endif | 64 #endif |
65 | 65 |
66 | 66 |
67 #if (HAVE_SENDFILE) | |
68 #include <sys/sendfile.h> | |
69 #endif | |
70 | |
71 | |
67 #if (HAVE_AIO) | 72 #if (HAVE_AIO) |
68 #include <aio.h> | 73 #include <aio.h> |
69 #endif | 74 #endif |
70 | 75 |
71 | 76 |
78 #ifndef HAVE_INHERITED_NONBLOCK | 83 #ifndef HAVE_INHERITED_NONBLOCK |
79 #define HAVE_INHERITED_NONBLOCK 1 | 84 #define HAVE_INHERITED_NONBLOCK 1 |
80 #endif | 85 #endif |
81 | 86 |
82 | 87 |
83 #define ngx_setproctitle(title) | 88 #ifndef HAVE_SO_SNDLOWAT |
89 /* setsockopt(SO_SNDLOWAT) returns error "Option not supported by protocol" */ | |
90 #define HAVE_SO_SNDLOWAT 0 | |
91 #endif | |
92 | |
93 | |
94 #ifndef NGX_SETPROCTITLE_USES_ENV | |
95 #define NGX_SETPROCTITLE_USES_ENV 1 | |
96 #define NGX_SETPROCTITLE_PAD ' ' | |
97 #endif | |
84 | 98 |
85 | 99 |
86 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */ | 100 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */ |