Mercurial > hg > nginx
changeset 1070:b54a1e283d6d
allow "sendfile" in "if" context
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 21 Jan 2007 17:42:28 +0000 |
parents | e6fc18f1a032 |
children | bd4202f92581 |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Sat Jan 20 19:26:48 2007 +0000 +++ b/src/http/ngx_http_core_module.c Sun Jan 21 17:42:28 2007 +0000 @@ -275,7 +275,8 @@ NULL }, { ngx_string("sendfile"), - NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF + |NGX_CONF_TAKE1, ngx_conf_set_flag_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_core_loc_conf_t, sendfile),