From a7dcbaf4ff0ce7ee3ce0e7d767cf86a25f661849 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 2 Dec 2003 05:47:29 +0000 Subject: nginx-0.0.1-2003-12-02-08:47:29 import --- src/os/unix/ngx_freebsd_sendfile_chain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix') diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c index e76f4c6f4..c9d3d7a14 100644 --- a/src/os/unix/ngx_freebsd_sendfile_chain.c +++ b/src/os/unix/ngx_freebsd_sendfile_chain.c @@ -176,6 +176,8 @@ ngx_log_debug(c->log, "NOPUSH"); hsize = 0; } + sent = 0; + rc = sendfile(file->file->fd, c->fd, file->file_pos, fsize + hsize, &hdtr, &sent, 0); -- cgit