diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-05-22 15:23:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-22 15:23:47 +0000 |
commit | 6a1cc903bf2db47b7061791b9e878ededcba1aa4 (patch) | |
tree | 5e9d78365d85901394f312d8eed6a1811692891b /src/http/ngx_http_core_module.c | |
parent | fa73aac7747c9d0a8575eb2beffcdab50171e006 (diff) | |
download | nginx-6a1cc903bf2db47b7061791b9e878ededcba1aa4.tar.gz nginx-6a1cc903bf2db47b7061791b9e878ededcba1aa4.zip |
nginx-0.0.1-2003-05-22-19:23:47 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 3ca006d97..e9bda7a78 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -319,7 +319,7 @@ ngx_log_debug(r->connection->log, "trans: %s" _ lcfp[i]->name.data); lcf = (ngx_http_core_loc_conf_t *) ngx_http_get_module_loc_conf(r, ngx_http_core_module_ctx); - if (lcf->sendfile == 0) { + if ((ngx_io.flags & NGX_IO_SENDFILE) == 0 || lcf->sendfile == 0) { r->filter = NGX_HTTP_FILTER_NEED_IN_MEMORY; } |