Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 455:295d97d70c69 release-0.1.2
nginx-0.1.2-RELEASE import
*) 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; the bug had 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; the bug had 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 <igor@sysoev.ru> |
---|---|
date | Thu, 21 Oct 2004 15:34:38 +0000 |
parents | 23fb87bddda1 |
children | a88a3e4e158f |
comparison
equal
deleted
inserted
replaced
454:2ff9cff0f469 | 455:295d97d70c69 |
---|---|
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 |