annotate src/imap/ngx_imap_ssl_module.h @ 138:8e6d4d96ec4c NGINX_0_3_16

nginx 0.3.16 *) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; bug appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; bug appeared in 0.3.13.
author Igor Sysoev <http://sysoev.ru>
date Fri, 16 Dec 2005 00:00:00 +0300
parents 91372f004adf
children 29a6403156b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 /*
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 * Copyright (C) Igor Sysoev
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 */
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #ifndef _NGX_IMAP_SSL_H_INCLUDED_
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_IMAP_SSL_H_INCLUDED_
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <ngx_config.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #include <ngx_core.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 #include <ngx_imap.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15
132
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
16 #define NGX_IMAP_STARTTLS_OFF 0
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
17 #define NGX_IMAP_STARTTLS_ON 1
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
18 #define NGX_IMAP_STARTTLS_ONLY 2
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
19
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
20
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 typedef struct {
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 ngx_flag_t enable;
96
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
23
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
24 ngx_ssl_t ssl;
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
25
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
26 ngx_flag_t prefer_server_ciphers;
132
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
27 ngx_flag_t starttls;
96
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
28
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
29 ngx_uint_t protocols;
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
30
122
d25a1d6034f1 nginx 0.3.8
Igor Sysoev <http://sysoev.ru>
parents: 96
diff changeset
31 time_t session_timeout;
d25a1d6034f1 nginx 0.3.8
Igor Sysoev <http://sysoev.ru>
parents: 96
diff changeset
32
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 ngx_str_t certificate;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
34 ngx_str_t certificate_key;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
35
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36 ngx_str_t ciphers;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38 } ngx_imap_ssl_conf_t;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
41 extern ngx_module_t ngx_imap_ssl_module;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
42
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
43
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
44 #endif /* _NGX_IMAP_SSL_H_INCLUDED_ */