Mercurial > hg > nginx-vendor-1-0
annotate src/mail/ngx_mail_ssl_module.h @ 324:f7cd062ee035 NGINX_0_6_6
nginx 0.6.6
*) Feature: the --sysconfdir=PATH option in configure.
*) Feature: named locations.
*) Feature: the $args variable can be set with the "set" directive.
*) Feature: the $is_args variable.
*) Bugfix: fair big weight upstream balancer.
*) Bugfix: if a client has closed connection to mail proxy then nginx
might not close connection to backend.
*) Bugfix: if the same host without specified port was used as backend
for HTTP and HTTPS, then nginx used only one port - 80 or 443.
*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early
versions; bug appeared in 0.6.4.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Jul 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_ */ |