From 0a280a3fc081877bc45cbdc0511a8cc42675213c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 12 Oct 2003 16:49:16 +0000 Subject: nginx-0.0.1-2003-10-12-20:49:16 import --- src/os/unix/ngx_freebsd_init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/os/unix/ngx_freebsd_init.c') diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c index 1a3077114..058711681 100644 --- a/src/os/unix/ngx_freebsd_init.c +++ b/src/os/unix/ngx_freebsd_init.c @@ -19,8 +19,13 @@ ngx_os_io_t ngx_os_io = { ngx_unix_recv, ngx_readv_chain, NULL, +#if (HAVE_FREEBSD_SENDFILE) ngx_freebsd_sendfile_chain, NGX_HAVE_SENDFILE|NGX_HAVE_ZEROCOPY +#else + ngx_writev_chain, + NULL +#endif }; -- cgit v1.2.3