[nginx] Mail: fixed log action after SSL handshake.

Maxim Dounin mdounin at mdounin.ru
Fri Mar 5 15:31:48 UTC 2021


details:   https://hg.nginx.org/nginx/rev/adee10c7fac8
branches:  
changeset: 7792:adee10c7fac8
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Mar 05 17:16:20 2021 +0300
description:
Mail: fixed log action after SSL handshake.

diffstat:

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

diffs (12 lines):

diff -r d84f13618277 -r adee10c7fac8 src/mail/ngx_mail_handler.c
--- a/src/mail/ngx_mail_handler.c	Fri Mar 05 17:16:19 2021 +0300
+++ b/src/mail/ngx_mail_handler.c	Fri Mar 05 17:16:20 2021 +0300
@@ -365,6 +365,8 @@ ngx_mail_init_session(ngx_connection_t *
 
     s = c->data;
 
+    c->log->action = "sending client greeting line";
+
     cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module);
 
     s->protocol = cscf->protocol->type;


More information about the nginx-devel mailing list