Mercurial > hg > nginx-vendor-current
annotate src/mail/ngx_mail_ssl_module.h @ 296:2ceaee987f37 NGINX_0_5_18
nginx 0.5.18
*) Feature: the ngx_http_sub_filter_module.
*) Feature: the "$upstream_http_..." variables.
*) Feature: now the $upstream_status and $upstream_response_time
variables keep data about all upstreams before X-Accel-Redirect.
*) Bugfix: a segmentation fault occurred in master process after first
reconfiguration and receiving any signal if nginx was built with
ngx_http_perl_module and perl did not support multiplicity; bug
appeared in 0.5.9.
*) Bugfix: if perl did not support multiplicity, then after
reconfiguration perl code did not work; bug appeared in 0.3.38.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 19 Apr 2007 00:00:00 +0400 |
parents | f745bf973510 |
children | bc21d9cd9c54 |
rev | line source |
---|---|
290 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_MAIL_SSL_H_INCLUDED_ | |
8 #define _NGX_MAIL_SSL_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_mail.h> | |
14 | |
15 | |
16 #define NGX_MAIL_STARTTLS_OFF 0 | |
17 #define NGX_MAIL_STARTTLS_ON 1 | |
18 #define NGX_MAIL_STARTTLS_ONLY 2 | |
19 | |
20 | |
21 typedef struct { | |
22 ngx_flag_t enable; | |
23 | |
24 ngx_ssl_t ssl; | |
25 | |
26 ngx_flag_t prefer_server_ciphers; | |
27 ngx_flag_t starttls; | |
28 | |
29 ngx_uint_t protocols; | |
30 | |
31 ssize_t builtin_session_cache; | |
32 | |
33 time_t session_timeout; | |
34 | |
35 ngx_str_t certificate; | |
36 ngx_str_t certificate_key; | |
37 | |
38 ngx_str_t ciphers; | |
39 | |
40 ngx_shm_zone_t *shm_zone; | |
41 } ngx_mail_ssl_conf_t; | |
42 | |
43 | |
44 extern ngx_module_t ngx_mail_ssl_module; | |
45 | |
46 | |
47 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */ |