diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 15:26:57 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 15:26:57 +0000 |
commit | df3254aa49c80b350ff4fa2eb50baf3cafbed71c (patch) | |
tree | 15a72baf5205f698354f529e4ba2d5846b558c4a /src/os/unix/ngx_linux_sendfile_chain.c | |
parent | 04ebcd942969bc479b4cc680eab6bf01f488f12f (diff) | |
download | nginx-df3254aa49c80b350ff4fa2eb50baf3cafbed71c.tar.gz nginx-df3254aa49c80b350ff4fa2eb50baf3cafbed71c.zip |
nginx-0.3.20-RELEASE importrelease-0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
-rw-r--r-- | src/os/unix/ngx_linux_sendfile_chain.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os/unix/ngx_linux_sendfile_chain.c b/src/os/unix/ngx_linux_sendfile_chain.c index 225f9e1ec..fb9957728 100644 --- a/src/os/unix/ngx_linux_sendfile_chain.c +++ b/src/os/unix/ngx_linux_sendfile_chain.c @@ -20,7 +20,11 @@ */ -#define NGX_HEADERS 8 +#if (IOV_MAX > 64) +#define NGX_HEADERS 64 +#else +#define NGX_HEADERS IOV_MAX +#endif ngx_chain_t * |