comparison src/mail/ngx_mail_ssl_module.h @ 290:f745bf973510 NGINX_0_5_15

nginx 0.5.15 *) Feature: the mail proxy supports authenticated SMTP proxying and the "smtp_auth", "smtp_capablities", and "xclient" directives. Thanks to Anton Yuzhaninov and Maxim Dounin. *) Feature: now the keep-alive connections are closed just after receiving the reconfiguration signal. *) Change: the "imap" and "auth" directives were renamed to the "mail" and "pop3_auth" directives. *) Bugfix: a segmentation fault occurred in worker process if the CRAM-MD5 authentication method was used and the APOP method was disabled. *) Bugfix: if the "starttls only" directive was used in POP3 protocol, then nginx allowed authentication without switching to the SSL mode. *) Bugfix: worker processes did not exit after reconfiguration and did not rotate logs if the eventport method was used. *) Bugfix: a worker process may got caught in an endless loop, if the "ip_hash" directive was used. *) Bugfix: now nginx does not log some alerts if eventport or /dev/poll methods are used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 19 Mar 2007 00:00:00 +0300
parents
children bc21d9cd9c54
comparison
equal deleted inserted replaced
289:a9323c9433a7 290:f745bf973510
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;
23
24 ngx_ssl_t ssl;
25
26 ngx_flag_t prefer_server_ciphers;
27 ngx_flag_t starttls;
28
29 ngx_uint_t protocols;
30
31 ssize_t builtin_session_cache;
32
33 time_t session_timeout;
34
35 ngx_str_t certificate;
36 ngx_str_t certificate_key;
37
38 ngx_str_t ciphers;
39
40 ngx_shm_zone_t *shm_zone;
41 } ngx_mail_ssl_conf_t;
42
43
44 extern ngx_module_t ngx_mail_ssl_module;
45
46
47 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */