Mercurial > hg > nginx
diff src/os/unix/ngx_linux_init.c @ 312:f5431a4bbc7d
nginx-0.0.3-2004-04-13-09:27:03 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 13 Apr 2004 05:27:03 +0000 |
parents | 11fbd0fc041d |
children | b670db10cbbd |
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_init.c +++ b/src/os/unix/ngx_linux_init.c @@ -9,10 +9,15 @@ char ngx_linux_kern_osrelease[20]; ngx_os_io_t ngx_os_io = { ngx_unix_recv, + ngx_readv_chain, NULL, - NULL, +#if (HAVE_SENDFILE) ngx_linux_sendfile_chain, NGX_IO_SENDFILE +#else + ngx_writev_chain, + 0 +#endif };