Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_linux_config.h @ 4:4b2dafa26fe2 NGINX_0_1_2
nginx 0.1.2
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS
options in configure.
*) Feature: the server_name directive supports *.domain.tld.
*) Bugfix: the portability improvements.
*) Bugfix: if configuration file was set in command line, the
reconfiguration was impossible; bug appeared in 0.1.1.
*) Bugfix: proxy module may get caught in an endless loop when sendfile
is not used.
*) Bugfix: with sendfile the response was not recoded according to the
charset module directives; bug appeared in 0.1.1.
*) Bugfix: very seldom bug in the kqueue processing.
*) Bugfix: the gzip module compressed the proxied responses that was
already compressed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 21 Oct 2004 00:00:00 +0400 |
parents | cc9f381affaa |
children | 46833bd150cb |
comparison
equal
deleted
inserted
replaced
3:8beaf7b3241f | 4:4b2dafa26fe2 |
---|---|
6 | 6 |
7 #ifndef _NGX_LINUX_CONFIG_H_INCLUDED_ | 7 #ifndef _NGX_LINUX_CONFIG_H_INCLUDED_ |
8 #define _NGX_LINUX_CONFIG_H_INCLUDED_ | 8 #define _NGX_LINUX_CONFIG_H_INCLUDED_ |
9 | 9 |
10 | 10 |
11 #ifndef _GNU_SOURCE | |
11 #define _GNU_SOURCE /* pread(), pwrite(), gethostname() */ | 12 #define _GNU_SOURCE /* pread(), pwrite(), gethostname() */ |
13 #endif | |
12 | 14 |
13 #define _FILE_OFFSET_BITS 64 | 15 #define _FILE_OFFSET_BITS 64 |
14 #define _LARGEFILE_SOURCE | |
15 | |
16 | 16 |
17 #include <sys/types.h> | 17 #include <sys/types.h> |
18 #include <sys/time.h> | 18 #include <sys/time.h> |
19 #include <unistd.h> | 19 #include <unistd.h> |
20 #include <stdarg.h> | 20 #include <stdarg.h> |
49 | 49 |
50 | 50 |
51 #include <ngx_auto_config.h> | 51 #include <ngx_auto_config.h> |
52 | 52 |
53 | 53 |
54 #if (HAVE_PRCTL) | 54 #if (NGX_HAVE_SYS_PRCTL_H) |
55 #include <sys/prctl.h> | 55 #include <sys/prctl.h> |
56 #endif | 56 #endif |
57 | 57 |
58 #if (HAVE_SENDFILE64) | 58 #if (NGX_HAVE_SENDFILE64) |
59 #include <sys/sendfile.h> | 59 #include <sys/sendfile.h> |
60 #else | 60 #else |
61 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); | 61 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); |
62 #endif | 62 #endif |
63 | 63 |