diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 18:26:57 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-11 18:26:57 +0300 |
commit | df3254aa49c80b350ff4fa2eb50baf3cafbed71c (patch) | |
tree | 15a72baf5205f698354f529e4ba2d5846b558c4a /src/os/unix/ngx_freebsd_sendfile_chain.c | |
parent | 04ebcd942969bc479b4cc680eab6bf01f488f12f (diff) |
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_freebsd_sendfile_chain.c')
-rw-r--r-- | src/os/unix/ngx_freebsd_sendfile_chain.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c index 7ae594897..97f968c40 100644 --- a/src/os/unix/ngx_freebsd_sendfile_chain.c +++ b/src/os/unix/ngx_freebsd_sendfile_chain.c @@ -28,8 +28,13 @@ */ -#define NGX_HEADERS 8 -#define NGX_TRAILERS 8 +#if (IOV_MAX > 64) +#define NGX_HEADERS 64 +#define NGX_TRAILERS 64 +#else +#define NGX_HEADERS IOV_MAX +#define NGX_TRAILERS IOV_MAX +#endif ngx_chain_t * |