Mercurial > hg > nginx-vendor-current
annotate src/mail/ngx_mail_ssl_module.h @ 570:8246d8a2c2be NGINX_0_8_37
nginx 0.8.37
*) Feature: the ngx_http_split_clients_module.
*) Feature: the "map" directive supports keys more than 255 characters.
*) Bugfix: nginx ignored the "private" and "no-store" values in the
"Cache-Control" backend response header line.
*) Bugfix: a "stub" parameter of an "include" SSI directive was not
used, if empty response has 200 status code.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then a segmentation fault might
occur in a worker process; the bug had appeared in 0.8.33.
Thanks to Yichun Zhang.
*) Bugfix: IMAP connections may hang until they timed out while talking
to Zimbra server.
Thanks to Alan Batie.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 17 May 2010 00:00:00 +0400 |
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_ */ |