Mercurial > hg > nginx
comparison src/http/modules/ngx_http_addition_filter_module.c @ 3372:6b8e5c882e47
support "*" in gzip_types, ssi_types, etc
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 30 Nov 2009 13:15:10 +0000 |
parents | 29ba1de1ab0b |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
3371:102fdc22de4d | 3372:6b8e5c882e47 |
---|---|
235 ngx_http_addition_conf_t *conf = child; | 235 ngx_http_addition_conf_t *conf = child; |
236 | 236 |
237 ngx_conf_merge_str_value(conf->before_body, prev->before_body, ""); | 237 ngx_conf_merge_str_value(conf->before_body, prev->before_body, ""); |
238 ngx_conf_merge_str_value(conf->after_body, prev->after_body, ""); | 238 ngx_conf_merge_str_value(conf->after_body, prev->after_body, ""); |
239 | 239 |
240 if (ngx_http_merge_types(cf, conf->types_keys, &conf->types, | 240 if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, |
241 prev->types_keys, &prev->types, | 241 &prev->types_keys, &prev->types, |
242 ngx_http_html_default_types) | 242 ngx_http_html_default_types) |
243 != NGX_OK) | 243 != NGX_OK) |
244 { | 244 { |
245 return NGX_CONF_ERROR; | 245 return NGX_CONF_ERROR; |
246 } | 246 } |