Welcome! Log In Create A New Profile

Advanced

[nginx] Mail: removed surplus ngx_close_connection() call.

Valentin Bartenev
May 15, 2013 04:38PM
details: http://hg.nginx.org/nginx/rev/2220de0521ca
branches:
changeset: 5214:2220de0521ca
user: Filipe Da Silva <fdasilvayy@gmail.com>
date: Thu May 09 10:54:28 2013 +0200
description:
Mail: removed surplus ngx_close_connection() call.

It is already called for a peer connection a few lines above.

diffstat:

src/mail/ngx_mail_auth_http_module.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 822b82191940 -r 2220de0521ca src/mail/ngx_mail_auth_http_module.c
--- a/src/mail/ngx_mail_auth_http_module.c Wed May 15 15:04:49 2013 +0400
+++ b/src/mail/ngx_mail_auth_http_module.c Thu May 09 10:54:28 2013 +0200
@@ -699,7 +699,6 @@ ngx_mail_auth_http_process_headers(ngx_m

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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Mail: removed surplus ngx_close_connection() call.

Valentin Bartenev 793 May 15, 2013 04:38PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready