Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 1892:057d362ee50e
resolver in smtp proxy module
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 13 Feb 2008 13:50:04 +0000 |
parents | cd042416586c |
children | 109849282793 62c95a6b143b |
comparison
equal
deleted
inserted
replaced
1891:782af1038115 | 1892:057d362ee50e |
---|---|
79 | 79 |
80 typedef struct { | 80 typedef struct { |
81 ngx_mail_protocol_t *protocol; | 81 ngx_mail_protocol_t *protocol; |
82 | 82 |
83 ngx_msec_t timeout; | 83 ngx_msec_t timeout; |
84 ngx_msec_t resolver_timeout; | |
84 | 85 |
85 ngx_flag_t so_keepalive; | 86 ngx_flag_t so_keepalive; |
86 | 87 |
87 ngx_str_t server_name; | 88 ngx_str_t server_name; |
88 | 89 |
89 u_char *file_name; | 90 u_char *file_name; |
90 ngx_int_t line; | 91 ngx_int_t line; |
92 | |
93 ngx_resolver_t *resolver; | |
91 | 94 |
92 /* server ctx */ | 95 /* server ctx */ |
93 ngx_mail_conf_ctx_t *ctx; | 96 ngx_mail_conf_ctx_t *ctx; |
94 } ngx_mail_core_srv_conf_t; | 97 } ngx_mail_core_srv_conf_t; |
95 | 98 |
145 | 148 |
146 void **ctx; | 149 void **ctx; |
147 void **main_conf; | 150 void **main_conf; |
148 void **srv_conf; | 151 void **srv_conf; |
149 | 152 |
153 ngx_resolver_ctx_t *resolver_ctx; | |
154 | |
150 ngx_mail_proxy_ctx_t *proxy; | 155 ngx_mail_proxy_ctx_t *proxy; |
151 | 156 |
152 ngx_uint_t mail_state; | 157 ngx_uint_t mail_state; |
153 | 158 |
154 unsigned protocol:3; | 159 unsigned protocol:3; |
169 ngx_str_t tag; | 174 ngx_str_t tag; |
170 ngx_str_t tagged_line; | 175 ngx_str_t tagged_line; |
171 ngx_str_t text; | 176 ngx_str_t text; |
172 | 177 |
173 ngx_str_t *addr_text; | 178 ngx_str_t *addr_text; |
179 ngx_str_t host; | |
174 ngx_str_t smtp_helo; | 180 ngx_str_t smtp_helo; |
175 | 181 |
176 ngx_uint_t command; | 182 ngx_uint_t command; |
177 ngx_array_t args; | 183 ngx_array_t args; |
178 | 184 |