Mercurial > hg > nginx-vendor-0-8
comparison src/mail/ngx_mail_pop3_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 | da3c99095432 |
comparison
equal
deleted
inserted
replaced
443:28335b730750 | 444:33394d1255b0 |
---|---|
224 /* suppress warinings */ | 224 /* suppress warinings */ |
225 case ngx_pop3_passwd: | 225 case ngx_pop3_passwd: |
226 break; | 226 break; |
227 | 227 |
228 case ngx_pop3_auth_login_username: | 228 case ngx_pop3_auth_login_username: |
229 rc = ngx_mail_auth_login_username(s, c); | 229 rc = ngx_mail_auth_login_username(s, c, 0); |
230 | 230 |
231 s->out.len = sizeof(pop3_password) - 1; | 231 s->out.len = sizeof(pop3_password) - 1; |
232 s->out.data = pop3_password; | 232 s->out.data = pop3_password; |
233 s->mail_state = ngx_pop3_auth_login_password; | 233 s->mail_state = ngx_pop3_auth_login_password; |
234 break; | 234 break; |
472 s->out.data = pop3_username; | 472 s->out.data = pop3_username; |
473 s->mail_state = ngx_pop3_auth_login_username; | 473 s->mail_state = ngx_pop3_auth_login_username; |
474 | 474 |
475 return NGX_OK; | 475 return NGX_OK; |
476 | 476 |
477 case NGX_MAIL_AUTH_LOGIN_USERNAME: | |
478 | |
479 s->out.len = sizeof(pop3_password) - 1; | |
480 s->out.data = pop3_password; | |
481 s->mail_state = ngx_pop3_auth_login_password; | |
482 | |
483 return ngx_mail_auth_login_username(s, c, 1); | |
484 | |
477 case NGX_MAIL_AUTH_PLAIN: | 485 case NGX_MAIL_AUTH_PLAIN: |
478 | 486 |
479 s->out.len = sizeof(pop3_next) - 1; | 487 s->out.len = sizeof(pop3_next) - 1; |
480 s->out.data = pop3_next; | 488 s->out.data = pop3_next; |
481 s->mail_state = ngx_pop3_auth_plain; | 489 s->mail_state = ngx_pop3_auth_plain; |