comparison src/mail/ngx_mail_smtp_handler.c @ 501:98143f74eb3d NGINX_0_7_58

nginx 0.7.58 *) Feature: a "listen" directive of the mail proxy module supports IPv6. *) Feature: the "image_filter_jpeg_quality" directive. *) Feature: the "client_body_in_single_buffer" directive. *) Feature: the $request_body variable. *) Bugfix: in ngx_http_autoindex_module in file name links having a ":" symbol in the name. *) Bugfix: "make upgrade" procedure did not work; the bug had appeared in 0.7.53. Thanks to Denis F. Latypoff.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 May 2009 00:00:00 +0400
parents 33394d1255b0
children 2b9e388c61f1
comparison
equal deleted inserted replaced
500:bb2281a3edb6 501:98143f74eb3d
64 s->host = smtp_unavailable; 64 s->host = smtp_unavailable;
65 ngx_mail_smtp_greeting(s, c); 65 ngx_mail_smtp_greeting(s, c);
66 return; 66 return;
67 } 67 }
68 68
69 if (c->sockaddr->sa_family != AF_INET) {
70 s->host = smtp_tempunavail;
71 ngx_mail_smtp_greeting(s, c);
72 return;
73 }
74
69 c->log->action = "in resolving client address"; 75 c->log->action = "in resolving client address";
70 76
71 ctx = ngx_resolve_start(cscf->resolver, NULL); 77 ctx = ngx_resolve_start(cscf->resolver, NULL);
72 if (ctx == NULL) { 78 if (ctx == NULL) {
73 ngx_mail_close_connection(c); 79 ngx_mail_close_connection(c);