comparison src/mail/ngx_mail.h @ 410:a094317ba307 NGINX_0_7_14

nginx 0.7.14 *) Change: now the ssl_certificate and ssl_certificate_key directives have not default values. *) Feature: the "listen" directive supports the "ssl" parameter. *) Feature: now nginx takes into account a time zone change while reconfiguration on FreeBSD and Linux. *) Bugfix: the "listen" directive parameters such as "backlog", "rcvbuf", etc. were not set, if a default server was not the first one. *) Bugfix: if URI part captured by a "rewrite" directive was used as a query string, then the query string was not escaped. *) Bugfix: configuration file validity test improvements.
author Igor Sysoev <http://sysoev.ru>
date Mon, 01 Sep 2008 00:00:00 +0400
parents babd3d9efb62
children ad0a34a8efa6
comparison
equal deleted inserted replaced
409:d46814b99ca0 410:a094317ba307
32 32
33 /* server ctx */ 33 /* server ctx */
34 ngx_mail_conf_ctx_t *ctx; 34 ngx_mail_conf_ctx_t *ctx;
35 35
36 unsigned bind:1; 36 unsigned bind:1;
37 #if (NGX_MAIL_SSL)
38 unsigned ssl:1;
39 #endif
37 } ngx_mail_listen_t; 40 } ngx_mail_listen_t;
38 41
39 42
40 typedef struct { 43 typedef struct {
41 in_addr_t addr; 44 in_addr_t addr;
42 ngx_mail_conf_ctx_t *ctx; 45 ngx_mail_conf_ctx_t *ctx;
43 ngx_str_t addr_text; 46 ngx_str_t addr_text;
47 #if (NGX_MAIL_SSL)
48 ngx_uint_t ssl; /* unsigned ssl:1; */
49 #endif
44 } ngx_mail_in_addr_t; 50 } ngx_mail_in_addr_t;
45 51
46 52
47 typedef struct { 53 typedef struct {
48 ngx_mail_in_addr_t *addrs; /* array of ngx_mail_in_addr_t */ 54 ngx_mail_in_addr_t *addrs; /* array of ngx_mail_in_addr_t */
58 64
59 typedef struct { 65 typedef struct {
60 in_addr_t addr; 66 in_addr_t addr;
61 ngx_mail_conf_ctx_t *ctx; 67 ngx_mail_conf_ctx_t *ctx;
62 unsigned bind:1; 68 unsigned bind:1;
69 #if (NGX_MAIL_SSL)
70 unsigned ssl:1;
71 #endif
63 } ngx_mail_conf_in_addr_t; 72 } ngx_mail_conf_in_addr_t;
64 73
65 74
66 typedef struct { 75 typedef struct {
67 ngx_array_t servers; /* ngx_mail_core_srv_conf_t */ 76 ngx_array_t servers; /* ngx_mail_core_srv_conf_t */