Mercurial > hg > nginx
comparison src/mail/ngx_mail_auth_http_module.c @ 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 | c788e54090de |
children | 0cbefdcf82a6 |
comparison
equal
deleted
inserted
replaced
5213:822b82191940 | 5214:2220de0521ca |
---|---|
697 ctx->err.len = ctx->errcode.len + ctx->errmsg.len | 697 ctx->err.len = ctx->errcode.len + ctx->errmsg.len |
698 + sizeof(" " CRLF) - 1; | 698 + sizeof(" " CRLF) - 1; |
699 | 699 |
700 p = ngx_pnalloc(s->connection->pool, ctx->err.len); | 700 p = ngx_pnalloc(s->connection->pool, ctx->err.len); |
701 if (p == NULL) { | 701 if (p == NULL) { |
702 ngx_close_connection(ctx->peer.connection); | |
703 ngx_destroy_pool(ctx->pool); | 702 ngx_destroy_pool(ctx->pool); |
704 ngx_mail_session_internal_server_error(s); | 703 ngx_mail_session_internal_server_error(s); |
705 return; | 704 return; |
706 } | 705 } |
707 | 706 |