# HG changeset patch
# User fds <fdasilvayy@gmail.com>
# Date 1368089668 -7200
# Node ID 7ffe7f3be4045dbc7478248370b473271660e473
# Parent  99c535c3439b369d76286ccc323fd2ba66e6f600
useless extra call to ngx_close_connection

diff -r 99c535c3439b -r 7ffe7f3be404 src/mail/ngx_mail_auth_http_module.c
--- a/src/mail/ngx_mail_auth_http_module.c	Mon May 06 14:05:17 2013 +0400
+++ b/src/mail/ngx_mail_auth_http_module.c	Thu May 09 10:54:28 2013 +0200
@@ -699,7 +699,6 @@
 
                     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;
