comparison src/http/ngx_http_copy_filter_module.c @ 3070:6fb94acd3a09

fix building on FreeBSD without --with-file-aio
author Igor Sysoev <igor@sysoev.ru>
date Mon, 31 Aug 2009 13:51:13 +0000
parents 113cd532b328
children ffc270f696ed
comparison
equal deleted inserted replaced
3069:3233684beeea 3070:6fb94acd3a09
143 } 143 }
144 144
145 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0, 145 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
146 "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); 146 "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
147 147
148 #if (NGX_HAVE_AIO_SENDFILE) 148 #if (NGX_HAVE_FILE_AIO && NGX_HAVE_AIO_SENDFILE)
149 149
150 if (c->busy_sendfile) { 150 if (c->busy_sendfile) {
151 off_t offset; 151 off_t offset;
152 ngx_file_t *file; 152 ngx_file_t *file;
153 ngx_http_ephemeral_t *e; 153 ngx_http_ephemeral_t *e;