mirror of
https://github.com/nginx/nginx.git
synced 2026-10-20 19:11:05 +00:00
log starttls
This commit is contained in:
parent
274b63ec34
commit
c4b3b5ae5f
1 changed files with 3 additions and 1 deletions
|
|
@ -691,7 +691,9 @@ ngx_mail_log_error(ngx_log_t *log, u_char *buf, size_t len)
|
|||
return p;
|
||||
}
|
||||
|
||||
p = ngx_snprintf(buf, len, ", server: %V", s->addr_text);
|
||||
p = ngx_snprintf(buf, len, "%s, server: %V",
|
||||
s->starttls ? " using starttls" : "",
|
||||
s->addr_text);
|
||||
len -= p - buf;
|
||||
buf = p;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue