Mercurial > hg > nginx-vendor-current
annotate src/mail/ngx_mail_ssl_module.h @ 646:615b5ea36fc0 NGINX_1_1_7
nginx 1.1.7
*) Feature: support of several resolvers in the "resolver" directive.
Thanks to Kirill A. Korinskiy.
*) Bugfix: a segmentation fault occurred on start or while
reconfiguration if the "ssl" directive was used at http level and
there was no "ssl_certificate" defined.
*) Bugfix: reduced memory consumption while proxying of big files if
they were buffered to disk.
*) Bugfix: a segmentation fault might occur in a worker process if
"proxy_http_version 1.1" directive was used.
*) Bugfix: in the "expires @time" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 31 Oct 2011 00:00:00 +0400 |
parents | 5b73504dd4ba |
children | d0f7a625f27c |
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; | |
404 | 23 ngx_flag_t prefer_server_ciphers; |
290 | 24 |
25 ngx_ssl_t ssl; | |
26 | |
404 | 27 ngx_uint_t starttls; |
290 | 28 ngx_uint_t protocols; |
29 | |
30 ssize_t builtin_session_cache; | |
31 | |
32 time_t session_timeout; | |
33 | |
34 ngx_str_t certificate; | |
35 ngx_str_t certificate_key; | |
380 | 36 ngx_str_t dhparam; |
632 | 37 ngx_str_t ecdh_curve; |
290 | 38 |
39 ngx_str_t ciphers; | |
40 | |
41 ngx_shm_zone_t *shm_zone; | |
404 | 42 |
43 u_char *file; | |
44 ngx_uint_t line; | |
290 | 45 } ngx_mail_ssl_conf_t; |
46 | |
47 | |
48 extern ngx_module_t ngx_mail_ssl_module; | |
49 | |
50 | |
51 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */ |