comparison src/os/unix/ngx_linux_sendfile_chain.c @ 597:9262f520ce21 release-0.3.20

nginx-0.3.20-RELEASE import *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Jan 2006 15:26:57 +0000
parents d4e858a5751a
children 8e446a2daf48
comparison
equal deleted inserted replaced
596:0381e6d3aa70 597:9262f520ce21
18 * 18 *
19 * Linux 2.4.21 has a new sendfile64() syscall #239. 19 * Linux 2.4.21 has a new sendfile64() syscall #239.
20 */ 20 */
21 21
22 22
23 #define NGX_HEADERS 8 23 #if (IOV_MAX > 64)
24 #define NGX_HEADERS 64
25 #else
26 #define NGX_HEADERS IOV_MAX
27 #endif
24 28
25 29
26 ngx_chain_t * 30 ngx_chain_t *
27 ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) 31 ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
28 { 32 {