Welcome! Log In Create A New Profile

Advanced

[nginx] Mail: initialize the "signature" field of ngx_mail_sessi...

Valentin Bartenev
September 01, 2014 09:52AM
details: http://hg.nginx.org/nginx/rev/8e7ee4c70a3c
branches:
changeset: 5819:8e7ee4c70a3c
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Sep 01 17:50:59 2014 +0400
description:
Mail: initialize the "signature" field of ngx_mail_session_t.

Currently it isn't used, but it can be suitable to distinguish
objects stored in c->data.

diffstat:

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

diffs (12 lines):

diff -r fe8bafab5b49 -r 8e7ee4c70a3c src/mail/ngx_mail_handler.c
--- a/src/mail/ngx_mail_handler.c Mon Sep 01 12:27:38 2014 +0400
+++ b/src/mail/ngx_mail_handler.c Mon Sep 01 17:50:59 2014 +0400
@@ -121,6 +121,8 @@ ngx_mail_init_connection(ngx_connection_
return;
}

+ s->signature = NGX_MAIL_MODULE;
+
s->main_conf = addr_conf->ctx->main_conf;
s->srv_conf = addr_conf->ctx->srv_conf;


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

[nginx] Mail: initialize the "signature" field of ngx_mail_sessi...

Valentin Bartenev 678 September 01, 2014 09:52AM



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

Online Users

Guests: 102
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready