diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-02-13 13:50:04 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-13 13:50:04 +0000 |
| commit | 45450461b682602098b85d39ff6c12896c3148bb (patch) | |
| tree | 62d3d054d33d3f9dcffa4532b06b933c9608ceae /src/mail/ngx_mail.h | |
| parent | 04610ead82aee661d07534dae1836b8566a49794 (diff) | |
| download | nginx-45450461b682602098b85d39ff6c12896c3148bb.tar.gz nginx-45450461b682602098b85d39ff6c12896c3148bb.tar.bz2 | |
resolver in smtp proxy module
Diffstat (limited to '')
| -rw-r--r-- | src/mail/ngx_mail.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h index a6b78a5aa..1efff5b51 100644 --- a/src/mail/ngx_mail.h +++ b/src/mail/ngx_mail.h @@ -81,6 +81,7 @@ typedef struct { ngx_mail_protocol_t *protocol; ngx_msec_t timeout; + ngx_msec_t resolver_timeout; ngx_flag_t so_keepalive; @@ -89,6 +90,8 @@ typedef struct { u_char *file_name; ngx_int_t line; + ngx_resolver_t *resolver; + /* server ctx */ ngx_mail_conf_ctx_t *ctx; } ngx_mail_core_srv_conf_t; @@ -147,6 +150,8 @@ typedef struct { void **main_conf; void **srv_conf; + ngx_resolver_ctx_t *resolver_ctx; + ngx_mail_proxy_ctx_t *proxy; ngx_uint_t mail_state; @@ -171,6 +176,7 @@ typedef struct { ngx_str_t text; ngx_str_t *addr_text; + ngx_str_t host; ngx_str_t smtp_helo; ngx_uint_t command; |
