Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 94:8220378432a8
nginx-0.0.1-2003-05-22-19:23:47 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 May 2003 15:23:47 +0000 |
parents | 738fe44c70d5 |
children | b48066122884 |
comparison
equal
deleted
inserted
replaced
93:738fe44c70d5 | 94:8220378432a8 |
---|---|
317 } | 317 } |
318 | 318 |
319 lcf = (ngx_http_core_loc_conf_t *) | 319 lcf = (ngx_http_core_loc_conf_t *) |
320 ngx_http_get_module_loc_conf(r, ngx_http_core_module_ctx); | 320 ngx_http_get_module_loc_conf(r, ngx_http_core_module_ctx); |
321 | 321 |
322 if (lcf->sendfile == 0) { | 322 if ((ngx_io.flags & NGX_IO_SENDFILE) == 0 || lcf->sendfile == 0) { |
323 r->filter = NGX_HTTP_FILTER_NEED_IN_MEMORY; | 323 r->filter = NGX_HTTP_FILTER_NEED_IN_MEMORY; |
324 } | 324 } |
325 | 325 |
326 /* run translation phase */ | 326 /* run translation phase */ |
327 | 327 |