Klaus Demo nginx / 73eb97f
check duplicate resolver Igor Sysoev 14 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
421421
422422 value = cf->args->elts;
423423
424 if (cscf->resolver != NGX_CONF_UNSET_PTR) {
425 return "is duplicate";
426 }
427
424428 if (ngx_strcmp(value[1].data, "off") == 0) {
425429 cscf->resolver = NULL;
426430 return NGX_CONF_OK;