Mercurial > hg > nginx-vendor-current
comparison src/mail/ngx_mail_imap_handler.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 | dac47e9ef0d5 |
children | 8246d8a2c2be |
comparison
equal
deleted
inserted
replaced
443:28335b730750 | 444:33394d1255b0 |
---|---|
203 } | 203 } |
204 | 204 |
205 break; | 205 break; |
206 | 206 |
207 case ngx_imap_auth_login_username: | 207 case ngx_imap_auth_login_username: |
208 rc = ngx_mail_auth_login_username(s, c); | 208 rc = ngx_mail_auth_login_username(s, c, 0); |
209 | 209 |
210 tag = 0; | 210 tag = 0; |
211 s->out.len = sizeof(imap_password) - 1; | 211 s->out.len = sizeof(imap_password) - 1; |
212 s->out.data = imap_password; | 212 s->out.data = imap_password; |
213 s->mail_state = ngx_imap_auth_login_password; | 213 s->mail_state = ngx_imap_auth_login_password; |
368 s->out.data = imap_username; | 368 s->out.data = imap_username; |
369 s->mail_state = ngx_imap_auth_login_username; | 369 s->mail_state = ngx_imap_auth_login_username; |
370 | 370 |
371 return NGX_OK; | 371 return NGX_OK; |
372 | 372 |
373 case NGX_MAIL_AUTH_LOGIN_USERNAME: | |
374 | |
375 s->out.len = sizeof(imap_password) - 1; | |
376 s->out.data = imap_password; | |
377 s->mail_state = ngx_imap_auth_login_password; | |
378 | |
379 return ngx_mail_auth_login_username(s, c, 1); | |
380 | |
373 case NGX_MAIL_AUTH_PLAIN: | 381 case NGX_MAIL_AUTH_PLAIN: |
374 | 382 |
375 s->out.len = sizeof(imap_plain_next) - 1; | 383 s->out.len = sizeof(imap_plain_next) - 1; |
376 s->out.data = imap_plain_next; | 384 s->out.data = imap_plain_next; |
377 s->mail_state = ngx_imap_auth_plain; | 385 s->mail_state = ngx_imap_auth_plain; |