comparison src/mail/ngx_mail_parse.c @ 444:33394d1255b0 NGINX_0_7_34

nginx 0.7.34 *) Feature: the "off" parameter of the "if_modified_since" directive. *) Feature: now nginx sends an HELO/EHLO command after a XCLIENT command. Thanks to Maxim Dounin. *) Feature: Microsoft specific "AUTH LOGIN with User Name" mode support in mail proxy server. Thanks to Maxim Dounin. *) Bugfix: in a redirect rewrite directive original arguments were concatenated with new arguments by an "?" rather than an "&"; the bug had appeared in 0.1.18. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built on AIX.
author Igor Sysoev <http://sysoev.ru>
date Tue, 10 Feb 2009 00:00:00 +0300
parents ad0a34a8efa6
children d0f7a625f27c
comparison
equal deleted inserted replaced
443:28335b730750 444:33394d1255b0
846 846
847 if (s->args.nelts == 1) { 847 if (s->args.nelts == 1) {
848 return NGX_MAIL_AUTH_LOGIN; 848 return NGX_MAIL_AUTH_LOGIN;
849 } 849 }
850 850
851 if (s->args.nelts == 2) {
852 return NGX_MAIL_AUTH_LOGIN_USERNAME;
853 }
854
851 return NGX_MAIL_PARSE_INVALID_COMMAND; 855 return NGX_MAIL_PARSE_INVALID_COMMAND;
852 } 856 }
853 857
854 if (ngx_strncasecmp(arg[0].data, (u_char *) "PLAIN", 5) == 0) { 858 if (ngx_strncasecmp(arg[0].data, (u_char *) "PLAIN", 5) == 0) {
855 859