Mail: removed surplus ngx_close_connection() call.

It is already called for a peer connection a few lines above.
This commit is contained in:
Filipe Da Silva 2013-05-09 10:54:28 +02:00
parent c9c4e39be6
commit 8597218f38

View File

@ -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;