comparison src/mail/ngx_mail_core_module.c @ 448:76a79816b771 NGINX_0_7_36

nginx 0.7.36 *) Feature: a preliminary IPv6 support; the "listen" directive of the HTTP module supports IPv6. *) Bugfix: the $ancient_browser variable did not work for browsers preset by a "modern_browser" directives.
author Igor Sysoev <http://sysoev.ru>
date Sat, 21 Feb 2009 00:00:00 +0300
parents a094317ba307
children 6484cbba0222
comparison
equal deleted inserted replaced
447:40964c811e59 448:76a79816b771
303 } 303 }
304 304
305 return NGX_CONF_ERROR; 305 return NGX_CONF_ERROR;
306 } 306 }
307 307
308 if (u.family != AF_INET) {
309 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "listen supports IPv4 only");
310 return NGX_CONF_ERROR;
311 }
312
308 cmcf = ngx_mail_conf_get_module_main_conf(cf, ngx_mail_core_module); 313 cmcf = ngx_mail_conf_get_module_main_conf(cf, ngx_mail_core_module);
309 314
310 imls = cmcf->listen.elts; 315 imls = cmcf->listen.elts;
311 316
312 for (i = 0; i < cmcf->listen.nelts; i++) { 317 for (i = 0; i < cmcf->listen.nelts; i++) {