comparison src/mail/ngx_mail_auth_http_module.c @ 1390:3e045031ee3b

stop configuration on error
author Igor Sysoev <igor@sysoev.ru>
date Tue, 14 Aug 2007 14:57:51 +0000
parents 0c10dc6a8e74
children 4eed21047e4d
comparison
equal deleted inserted replaced
1389:ab553c23bd3a 1390:3e045031ee3b
1386 if (ngx_parse_url(cf, &u) != NGX_OK) { 1386 if (ngx_parse_url(cf, &u) != NGX_OK) {
1387 if (u.err) { 1387 if (u.err) {
1388 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 1388 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
1389 "%s in auth_http \"%V\"", u.err, &u.url); 1389 "%s in auth_http \"%V\"", u.err, &u.url);
1390 } 1390 }
1391
1392 return NGX_CONF_ERROR;
1391 } 1393 }
1392 1394
1393 ahcf->peer = u.addrs; 1395 ahcf->peer = u.addrs;
1394 1396
1395 ahcf->host_header = u.host; 1397 ahcf->host_header = u.host;