Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 7791:d84f13618277
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 05 Mar 2021 17:16:19 +0300 |
parents | d63c5373b5ba |
children | 12ea1de7d87c |
comparison
equal
deleted
inserted
replaced
7790:da0a85e91587 | 7791:d84f13618277 |
---|---|
195 | 195 |
196 ngx_mail_proxy_ctx_t *proxy; | 196 ngx_mail_proxy_ctx_t *proxy; |
197 | 197 |
198 ngx_uint_t mail_state; | 198 ngx_uint_t mail_state; |
199 | 199 |
200 unsigned ssl:1; | |
200 unsigned protocol:3; | 201 unsigned protocol:3; |
201 unsigned blocked:1; | 202 unsigned blocked:1; |
202 unsigned quit:1; | 203 unsigned quit:1; |
203 unsigned quoted:1; | 204 unsigned quoted:1; |
204 unsigned backslash:1; | 205 unsigned backslash:1; |