changeset 5214:2220de0521ca

Mail: removed surplus ngx_close_connection() call. It is already called for a peer connection a few lines above.
author Filipe Da Silva <fdasilvayy@gmail.com>
date Thu, 09 May 2013 10:54:28 +0200
parents 822b82191940
children cfab1e7e4ac2
files src/mail/ngx_mail_auth_http_module.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c
+++ b/src/mail/ngx_mail_auth_http_module.c
@@ -699,7 +699,6 @@ ngx_mail_auth_http_process_headers(ngx_m
 
                     p = ngx_pnalloc(s->connection->pool, ctx->err.len);
                     if (p == NULL) {
-                        ngx_close_connection(ctx->peer.connection);
                         ngx_destroy_pool(ctx->pool);
                         ngx_mail_session_internal_server_error(s);
                         return;