aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-12-06 14:45:08 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-12-06 14:45:08 +0000
commit6a12fc91b0090b5628dc70d4a45db576c5b0c64a (patch)
treef473f81772c058b7488ac4030c3ff09994c6c532 /src/os/unix/ngx_linux_config.h
parentc372e09ab34ec8c4f60f8c08ef30b297c0e475ab (diff)
downloadnginx-6a12fc91b0090b5628dc70d4a45db576c5b0c64a.tar.gz
nginx-6a12fc91b0090b5628dc70d4a45db576c5b0c64a.zip
nginx-0.1.12-RELEASE importrelease-0.1.12
*) Feature: the %request_length log parameter. *) Bugfix: when using the /dev/poll, select and poll on the platforms, where these methods may do the false reports, there may be the long delay when the request was passed via the keep-alive connection. It may be at least on Solaris when using the /dev/poll. *) Bugfix: the send_lowat directive is ignored on Linux because Linux does not support the SO_SNDLOWAT option.
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index 84eaf5c6a..bb08f41e3 100644
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -80,6 +80,12 @@ extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size);
#endif
+#ifndef NGX_HAVE_SO_SNDLOWAT
+/* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */
+#define NGX_HAVE_SO_SNDLOWAT 0
+#endif
+
+
#ifndef NGX_HAVE_INHERITED_NONBLOCK
#define NGX_HAVE_INHERITED_NONBLOCK 0
#endif