aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_sendfile.c')
-rw-r--r--src/core/ngx_sendfile.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/core/ngx_sendfile.c b/src/core/ngx_sendfile.c
deleted file mode 100644
index e930fe53b..000000000
--- a/src/core/ngx_sendfile.c
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#include <ngx_config.h>
-
-#if !(HAVE_SENDFILE)
-
-#include <ngx_core.h>
-#include <ngx_log.h>
-#include <ngx_socket.h>
-#include <ngx_sendv.h>
-
-int ngx_sendfile(ngx_socket_t s,
- ngx_iovec_t *headers, int hdr_cnt,
- ngx_fd_t fd, off_t offset, size_t nbytes,
- ngx_iovec_t *trailers, int trl_cnt,
- off_t *sent,
- ngx_log_t *log)
-{
- ngx_log_error(NGX_LOG_INFO, log, 0,
- "ngx_sendfile: sendfile is not implemented");
-
-
- return NGX_ERROR;
-}
-
-#endif