From: Filipe Da Silva Date: Thu, 9 May 2013 08:54:28 +0000 (+0200) Subject: Mail: removed surplus ngx_close_connection() call. X-Git-Tag: release-1.5.1~23 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=8597218f386351d6c6cdced24af6716e19a18fc3;p=nginx.git Mail: removed surplus ngx_close_connection() call. It is already called for a peer connection a few lines above. --- diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index 2e9b9f24d..8094bbc5c 100644 --- 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_mail_session_t *s, 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;