comparison src/mail/ngx_mail.c @ 484:ed5e10fb40fc NGINX_0_7_54

nginx 0.7.54 *) Feature: the ngx_http_image_filter_module. *) Feature: the "proxy_ignore_headers" and "fastcgi_ignore_headers" directives. *) Bugfix: a segmentation fault might occur in worker process, if an "open_file_cache_errors off" directive was used; the bug had appeared in 0.7.53. *) Bugfix: the "port_in_redirect off" directive did not work; the bug had appeared in 0.7.39. *) Bugfix: improve handling of "select" method errors. *) Bugfix: of "select() failed (10022: ...)" error in nginx/Windows. *) Bugfix: in error text descriptions in nginx/Windows; the bug had appeared in 0.7.53.
author Igor Sysoev <http://sysoev.ru>
date Fri, 01 May 2009 00:00:00 +0400
parents a094317ba307
children 6484cbba0222
comparison
equal deleted inserted replaced
483:0a2f4b42ddad 484:ed5e10fb40fc
311 311
312 ls->addr_ntop = 1; 312 ls->addr_ntop = 1;
313 ls->handler = ngx_mail_init_connection; 313 ls->handler = ngx_mail_init_connection;
314 ls->pool_size = 256; 314 ls->pool_size = 256;
315 315
316 /* STUB */ 316 /* TODO: error_log directive */
317 ls->log = *cf->cycle->new_log; 317 ls->logp = &cf->cycle->new_log;
318 ls->log.data = &ls->addr_text; 318 ls->log.data = &ls->addr_text;
319 ls->log.handler = ngx_accept_log_error; 319 ls->log.handler = ngx_accept_log_error;
320 /**/
321 320
322 imip = ngx_palloc(cf->pool, sizeof(ngx_mail_in_port_t)); 321 imip = ngx_palloc(cf->pool, sizeof(ngx_mail_in_port_t));
323 if (imip == NULL) { 322 if (imip == NULL) {
324 return NGX_CONF_ERROR; 323 return NGX_CONF_ERROR;
325 } 324 }