Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 3753:9da3a04fc845
gzip_disable compiled always the first pattern only
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 02 Sep 2010 14:01:58 +0000 |
parents | 6cde13492433 |
children | 5f58badd13ed |
comparison
equal
deleted
inserted
replaced
3752:6cde13492433 | 3753:9da3a04fc845 |
---|---|
4398 re = ngx_array_push(clcf->gzip_disable); | 4398 re = ngx_array_push(clcf->gzip_disable); |
4399 if (re == NULL) { | 4399 if (re == NULL) { |
4400 return NGX_CONF_ERROR; | 4400 return NGX_CONF_ERROR; |
4401 } | 4401 } |
4402 | 4402 |
4403 rc.pattern = value[1]; | 4403 rc.pattern = value[i]; |
4404 rc.options = NGX_REGEX_CASELESS; | 4404 rc.options = NGX_REGEX_CASELESS; |
4405 | 4405 |
4406 if (ngx_regex_compile(&rc) != NGX_OK) { | 4406 if (ngx_regex_compile(&rc) != NGX_OK) { |
4407 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); | 4407 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); |
4408 return NGX_CONF_ERROR; | 4408 return NGX_CONF_ERROR; |