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_solaris_sendfilev_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_solaris_sendfilev_chain.c')
-rw-r--r-- | src/os/unix/ngx_solaris_sendfilev_chain.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/os/unix/ngx_solaris_sendfilev_chain.c b/src/os/unix/ngx_solaris_sendfilev_chain.c index 1ed7239c2..ebccae8fa 100644 --- a/src/os/unix/ngx_solaris_sendfilev_chain.c +++ b/src/os/unix/ngx_solaris_sendfilev_chain.c @@ -31,7 +31,12 @@ static ssize_t sendfilev(int fd, const struct sendfilevec *vec, #endif -#define NGX_SENDFILEVECS 16 +#if (IOV_MAX > 64) +#define NGX_SENDFILEVECS 64 +#else +#define NGX_SENDFILEVECS IOV_MAX +#endif + ngx_chain_t * |