Mercurial > hg > nginx-vendor-0-6
annotate src/imap/ngx_imap_ssl_module.h @ 274:052a7b1d40e5 NGINX_0_5_7
nginx 0.5.7
*) Feature: the ssl_session_cache storage optimization.
*) Bugfixes in the "ssl_session_cache" and "limit_zone" directives.
*) Bugfix: the segmentation fault was occurred on start or while
reconfiguration if the "ssl_session_cache" or "limit_zone"
directives were used on 64-bit platforms.
*) Bugfix: a segmentation fault occurred if the "add_before_body" or
"add_after_body" directives were used and there was no
"Content-Type" header line in response.
*) Bugfix: the OpenSSL library was always built with the threads
support.
Thanks to Den Ivanov.
*) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 15 Jan 2007 00:00:00 +0300 |
parents | 29a6403156b0 |
children |
rev | line source |
---|---|
88 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_IMAP_SSL_H_INCLUDED_ | |
8 #define _NGX_IMAP_SSL_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_imap.h> | |
14 | |
15 | |
132 | 16 #define NGX_IMAP_STARTTLS_OFF 0 |
17 #define NGX_IMAP_STARTTLS_ON 1 | |
18 #define NGX_IMAP_STARTTLS_ONLY 2 | |
19 | |
20 | |
88 | 21 typedef struct { |
272 | 22 ngx_flag_t enable; |
23 | |
24 ngx_ssl_t ssl; | |
96 | 25 |
272 | 26 ngx_flag_t prefer_server_ciphers; |
27 ngx_flag_t starttls; | |
96 | 28 |
272 | 29 ngx_uint_t protocols; |
96 | 30 |
272 | 31 ssize_t builtin_session_cache; |
96 | 32 |
272 | 33 time_t session_timeout; |
122 | 34 |
272 | 35 ngx_str_t certificate; |
36 ngx_str_t certificate_key; | |
88 | 37 |
272 | 38 ngx_str_t ciphers; |
88 | 39 |
272 | 40 ngx_shm_zone_t *shm_zone; |
88 | 41 } ngx_imap_ssl_conf_t; |
42 | |
43 | |
44 extern ngx_module_t ngx_imap_ssl_module; | |
45 | |
46 | |
47 #endif /* _NGX_IMAP_SSL_H_INCLUDED_ */ |