From 45450461b682602098b85d39ff6c12896c3148bb Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 13 Feb 2008 13:50:04 +0000 Subject: resolver in smtp proxy module --- src/mail/ngx_mail.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mail/ngx_mail.h') 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; -- cgit