Mercurial > hg > nginx-vendor-0-7
comparison src/mail/ngx_mail_proxy_module.c @ 372:6639b93e81b2 NGINX_0_6_30
nginx 0.6.30
*) Change: now if an "include" directive pattern does not match any
file, then nginx does not issue an error.
*) Feature: now the time in directives may be specified without spaces,
for example, "1h50m".
*) Bugfix: memory leaks if the "ssl_verify_client" directive was on.
Thanks to Chavelle Vincent.
*) Bugfix: the "sub_filter" directive might set text to change into
output.
*) Bugfix: the "error_page" directive did not take into account
arguments in redirected URI.
*) Bugfix: now nginx always opens files in binary mode under Cygwin.
*) Bugfix: nginx could not be built on OpenBSD; bug appeared in 0.6.15.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 29 Apr 2008 00:00:00 +0400 |
parents | babd3d9efb62 |
children | 984bb0b1399b |
comparison
equal
deleted
inserted
replaced
371:b6a2a305fdad | 372:6639b93e81b2 |
---|---|
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; |