diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:19 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:19 +0300 |
commit | 7d4cd6cff428cb8717f8560a00f825d72b49f68a (patch) | |
tree | 8d2d66532ad3b60893dac3215e4d08139d7b2571 /src/mail/ngx_mail.h | |
parent | 065a1641b242538073e92065e20fd788203108ab (diff) | |
download | nginx-7d4cd6cff428cb8717f8560a00f825d72b49f68a.tar.gz nginx-7d4cd6cff428cb8717f8560a00f825d72b49f68a.zip |
Mail: postponed session initialization under accept mutex.
Similarly to 40e8ce405859 in the stream module, this reduces the time
accept mutex is held. This also simplifies following changes to
introduce PROXY protocol support.
Diffstat (limited to 'src/mail/ngx_mail.h')
-rw-r--r-- | src/mail/ngx_mail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h index 25ac432b0..e5ecf3914 100644 --- a/src/mail/ngx_mail.h +++ b/src/mail/ngx_mail.h @@ -197,6 +197,7 @@ typedef struct { ngx_uint_t mail_state; + unsigned ssl:1; unsigned protocol:3; unsigned blocked:1; unsigned quit:1; |