annotate src/imap/ngx_imap_ssl_module.h @ 236:c982febb7588 NGINX_0_4_3

nginx 0.4.3 *) Change: now the 499 error could not be redirected using an "error_page" directive. *) Feature: the Solaris 10 event ports support. *) Feature: the ngx_http_browser_module. *) Bugfix: a segmentation fault may occur while redirecting the 400 error to the proxied server using an "proxy_pass" directive. *) Bugfix: a segmentation fault occurred if an unix domain socket was used in an "proxy_pass" directive; bug appeared in 0.3.47. *) Bugfix: SSI did work with memcached and nonbuffered responses. *) Workaround: of the Sun Studio PAUSE hardware capability bug.
author Igor Sysoev <http://sysoev.ru>
date Tue, 26 Sep 2006 00:00:00 +0400
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_ */