Mercurial > hg > nginx-vendor-current
annotate src/mail/ngx_mail_ssl_module.h @ 540:c04fa65fe604 NGINX_0_8_22
nginx 0.8.22
*) Feature: the "proxy_bind", "fastcgi_bind", and "memcached_bind"
directives.
*) Feature: the "access" and the "deny" directives support IPv6.
*) Feature: the "set_real_ip_from" directive supports IPv6 addresses in
request headers.
*) Feature: the "unix:" parameter of the "set_real_ip_from" directive.
*) Bugfix: nginx did not delete unix domain socket after configuration
testing.
*) Bugfix: nginx deleted unix domain socket while online upgrade.
*) Bugfix: the "!-x" operator did not work.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
limit_rate was used in HTTPS server.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process while
$limit_rate logging.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
there was no "listen" directive in "server" block; the bug had
appeared in 0.8.21.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 03 Nov 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_ */ |