aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_auth_http_module.c
diff options
context:
space:
mode:
authorFilipe Da Silva <fdasilvayy@gmail.com>2013-05-09 10:54:28 +0200
committerFilipe Da Silva <fdasilvayy@gmail.com>2013-05-09 10:54:28 +0200
commit8597218f386351d6c6cdced24af6716e19a18fc3 (patch)
treee6db897b8abe76b8c3050cd69e76cc843bcce694 /src/mail/ngx_mail_auth_http_module.c
parentc9c4e39be6f248f1b20044dde35b1e593352961c (diff)
downloadnginx-8597218f386351d6c6cdced24af6716e19a18fc3.tar.gz
nginx-8597218f386351d6c6cdced24af6716e19a18fc3.zip
Mail: removed surplus ngx_close_connection() call.
It is already called for a peer connection a few lines above.
Diffstat (limited to 'src/mail/ngx_mail_auth_http_module.c')
-rw-r--r--src/mail/ngx_mail_auth_http_module.c1
1 files changed, 0 insertions, 1 deletions
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;