Mercurial > hg > nginx-vendor-0-6
annotate src/mail/ngx_mail_ssl_module.h @ 354:583decdb82a4 NGINX_0_6_21
nginx 0.6.21
*) Change: if variable values used in a "proxy_pass" directive contain
IP-addresses only, then a "resolver" directive is not mandatory.
resolver
*) Bugfix: a segmentation fault might occur in worker process if a
"proxy_pass" directive with URI-part was used; bug appeared in
0.6.19.
*) Bugfix: if resolver was used on platform that does not support
kqueue, then nginx issued an alert "name is out of response".
Thanks to Andrei Nigmatulin.
*) Bugfix: if the $server_protocol was used in FastCGI parameters and a
request line length was near to the "client_header_buffer_size"
directive value, then nginx issued an alert "fastcgi: the request
record is too big".
*) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS
server, then nginx returned usual response.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 03 Dec 2007 00:00:00 +0300 |
parents | f745bf973510 |
children |
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; | |
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_ */ |