Mercurial > hg > nginx-vendor-current
comparison src/mail/ngx_mail_proxy_module.c @ 296:2ceaee987f37 NGINX_0_5_18
nginx 0.5.18
*) Feature: the ngx_http_sub_filter_module.
*) Feature: the "$upstream_http_..." variables.
*) Feature: now the $upstream_status and $upstream_response_time
variables keep data about all upstreams before X-Accel-Redirect.
*) Bugfix: a segmentation fault occurred in master process after first
reconfiguration and receiving any signal if nginx was built with
ngx_http_perl_module and perl did not support multiplicity; bug
appeared in 0.5.9.
*) Bugfix: if perl did not support multiplicity, then after
reconfiguration perl code did not work; bug appeared in 0.3.38.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 19 Apr 2007 00:00:00 +0400 |
parents | f745bf973510 |
children | f7cd062ee035 |
comparison
equal
deleted
inserted
replaced
295:65b7ac8795e3 | 296:2ceaee987f37 |
---|---|
700 default: /* NGX_MAIL_SMTP_PROTOCOL */ | 700 default: /* NGX_MAIL_SMTP_PROTOCOL */ |
701 switch (state) { | 701 switch (state) { |
702 | 702 |
703 case ngx_smtp_helo: | 703 case ngx_smtp_helo: |
704 case ngx_smtp_noxclient: | 704 case ngx_smtp_noxclient: |
705 if (p[0] == '2' && p[1] == '5' && p[2] == '0') { | 705 if (p[0] == '2' && p[1] == '5' && p[2] == '0') { |
706 return NGX_OK; | 706 return NGX_OK; |
707 } | 707 } |
708 break; | 708 break; |
709 | 709 |
710 case ngx_smtp_start: | 710 case ngx_smtp_start: |
711 case ngx_smtp_xclient: | 711 case ngx_smtp_xclient: |
712 if (p[0] == '2' && p[1] == '2' && p[2] == '0') { | 712 if (p[0] == '2' && p[1] == '2' && p[2] == '0') { |
713 return NGX_OK; | 713 return NGX_OK; |
714 } | 714 } |
715 break; | 715 break; |
716 } | 716 } |
717 | 717 |
718 break; | 718 break; |
719 } | 719 } |
720 | 720 |
721 pcf = ngx_mail_get_module_srv_conf(s, ngx_mail_proxy_module); | 721 pcf = ngx_mail_get_module_srv_conf(s, ngx_mail_proxy_module); |
722 | 722 |
723 if (pcf->pass_error_message == 0) { | 723 if (pcf->pass_error_message == 0) { |