Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | bbd6b0b4a2b1 |
children | 31ee1b50354f |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
54 | 54 |
55 #if (NGX_HAVE_SYS_PRCTL_H) | 55 #if (NGX_HAVE_SYS_PRCTL_H) |
56 #include <sys/prctl.h> | 56 #include <sys/prctl.h> |
57 #endif | 57 #endif |
58 | 58 |
59 | |
59 #if (NGX_HAVE_SENDFILE64) | 60 #if (NGX_HAVE_SENDFILE64) |
60 #include <sys/sendfile.h> | 61 #include <sys/sendfile.h> |
61 #else | 62 #else |
62 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); | 63 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size); |
64 #define NGX_SENDFILE_LIMIT (NGX_MAX_UINT32_VALUE + 1) | |
63 #endif | 65 #endif |
64 | 66 |
65 | 67 |
66 #if (HAVE_POLL) | 68 #if (NGX_HAVE_POLL) |
67 #include <poll.h> | 69 #include <poll.h> |
68 #endif | 70 #endif |
69 | 71 |
70 | 72 |
71 #if (HAVE_EPOLL) | 73 #if (NGX_HAVE_EPOLL) |
72 #include <sys/epoll.h> | 74 #include <sys/epoll.h> |
73 #endif /* HAVE_EPOLL */ | |
74 | |
75 | |
76 #if defined TCP_DEFER_ACCEPT && !defined HAVE_DEFERRED_ACCEPT | |
77 #define HAVE_DEFERRED_ACCEPT 1 | |
78 #endif | 75 #endif |
79 | 76 |
80 | 77 |
81 #ifndef HAVE_INHERITED_NONBLOCK | 78 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT |
82 #define HAVE_INHERITED_NONBLOCK 0 | 79 #define NGX_HAVE_DEFERRED_ACCEPT 1 |
83 #endif | 80 #endif |
84 | 81 |
85 | 82 |
86 #ifndef HAVE_SELECT_CHANGE_TIMEOUT | 83 #ifndef NGX_HAVE_INHERITED_NONBLOCK |
87 #define HAVE_SELECT_CHANGE_TIMEOUT 1 | 84 #define NGX_HAVE_INHERITED_NONBLOCK 0 |
85 #endif | |
86 | |
87 | |
88 #ifndef NGX_HAVE_SELECT_CHANGE_TIMEOUT | |
89 #define NGX_HAVE_SELECT_CHANGE_TIMEOUT 1 | |
88 #endif | 90 #endif |
89 | 91 |
90 #ifndef NGX_SETPROCTITLE_USES_ENV | 92 #ifndef NGX_SETPROCTITLE_USES_ENV |
91 #define NGX_SETPROCTITLE_USES_ENV 1 | 93 #define NGX_SETPROCTITLE_USES_ENV 1 |
92 #define NGX_SETPROCTITLE_PAD '\0' | 94 #define NGX_SETPROCTITLE_PAD '\0' |