comparison src/mail/ngx_mail_proxy_module.c @ 1981:65581f79e81b

reset message
author Igor Sysoev <igor@sysoev.ru>
date Tue, 29 Apr 2008 09:35:06 +0000
parents 057d362ee50e
children 2a92804f4109
comparison
equal deleted inserted replaced
1980:b5263e401884 1981:65581f79e81b
169 if (s->proxy->buffer == NULL) { 169 if (s->proxy->buffer == NULL) {
170 ngx_mail_proxy_internal_server_error(s); 170 ngx_mail_proxy_internal_server_error(s);
171 return; 171 return;
172 } 172 }
173 173
174 s->out.len = 0;
175
174 switch (s->protocol) { 176 switch (s->protocol) {
175 177
176 case NGX_MAIL_POP3_PROTOCOL: 178 case NGX_MAIL_POP3_PROTOCOL:
177 p->upstream.connection->read->handler = ngx_mail_proxy_pop3_handler; 179 p->upstream.connection->read->handler = ngx_mail_proxy_pop3_handler;
178 s->mail_state = ngx_pop3_start; 180 s->mail_state = ngx_pop3_start;