Mercurial > hg > nginx-vendor-0-8
annotate src/mail/ngx_mail_ssl_module.h @ 412:b246022ef454 NGINX_0_7_18
nginx 0.7.18
*) Change: the "underscores_in_headers" directive; now nginx does not
allows underscores in a client request header line names.
*) Feature: the ngx_http_secure_link_module.
*) Feature: the "real_ip_header" directive supports any header.
*) Feature: the "log_subrequest" directive.
*) Feature: the $realpath_root variable.
*) Feature: the "http_502" and "http_504" parameters of the
"proxy_next_upstream" directive.
*) Bugfix: the "http_503" parameter of the "proxy_next_upstream" or
"fastcgi_next_upstream" directives did not work.
*) Bugfix: nginx might send a "Transfer-Encoding: chunked" heaer line
for HEAD requests.
*) Bugfix: now accept threshold depends on worker_connections.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 13 Oct 2008 00:00:00 +0400 |
parents | a094317ba307 |
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; | |
404 | 23 ngx_flag_t prefer_server_ciphers; |
290 | 24 |
25 ngx_ssl_t ssl; | |
26 | |
404 | 27 ngx_uint_t starttls; |
290 | 28 ngx_uint_t protocols; |
29 | |
30 ssize_t builtin_session_cache; | |
31 | |
32 time_t session_timeout; | |
33 | |
34 ngx_str_t certificate; | |
35 ngx_str_t certificate_key; | |
380 | 36 ngx_str_t dhparam; |
290 | 37 |
38 ngx_str_t ciphers; | |
39 | |
40 ngx_shm_zone_t *shm_zone; | |
404 | 41 |
42 u_char *file; | |
43 ngx_uint_t line; | |
290 | 44 } ngx_mail_ssl_conf_t; |
45 | |
46 | |
47 extern ngx_module_t ngx_mail_ssl_module; | |
48 | |
49 | |
50 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */ |