diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-13 05:27:03 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-13 05:27:03 +0000 |
commit | a21e30b91900dbbde5ea7fbc5ed4b2ec59969de7 (patch) | |
tree | c7d5450dabaf85a756ef61dd9abb0fb771792934 /src/os/unix/ngx_linux_init.c | |
parent | 43f131923f25600c771e014a7eebf74d407776a7 (diff) | |
download | nginx-a21e30b91900dbbde5ea7fbc5ed4b2ec59969de7.tar.gz nginx-a21e30b91900dbbde5ea7fbc5ed4b2ec59969de7.zip |
nginx-0.0.3-2004-04-13-09:27:03 import
Diffstat (limited to 'src/os/unix/ngx_linux_init.c')
-rw-r--r-- | src/os/unix/ngx_linux_init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/os/unix/ngx_linux_init.c b/src/os/unix/ngx_linux_init.c index 387a49143..ea2e812be 100644 --- 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 }; |