Mercurial > hg > nginx-vendor-current
annotate src/mail/ngx_mail_ssl_module.h @ 464:c8cfb6c462ef NGINX_0_7_44
nginx 0.7.44
*) Feature: the ngx_http_proxy_module preliminary cache support.
*) Feature: the --with-pcre option in the configure.
*) Feature: the "try_files" directive is now allowed on the server
block level.
*) Bugfix: the "try_files" directive handled incorrectly a query string
in a fallback parameter.
*) Bugfix: the "try_files" directive might test incorrectly directories.
*) Bugfix: if there is the single server for given address:port pair,
then captures in regular expressions in a "server_name" directive
did not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Mar 2009 00:00:00 +0300 |
parents | a094317ba307 |
children | 5b73504dd4ba |
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; |
290 | 37 |
38 ngx_str_t ciphers; | |
39 | |
40 ngx_shm_zone_t *shm_zone; | |
404 | 41 |
42 u_char *file; | |
43 ngx_uint_t line; | |
290 | 44 } ngx_mail_ssl_conf_t; |
45 | |
46 | |
47 extern ngx_module_t ngx_mail_ssl_module; | |
48 | |
49 | |
50 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */ |