Mercurial > hg > nginx
annotate src/mail/ngx_mail_ssl_module.h @ 1990:c7757ce0ae97 stable-0.5
r1699, r1700, r1701, r1702, r1707 merge:
upstream parse_header fix and optimization,
fix fastcgi_catch_stderr segfault merged in r1524:
*) return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
*) return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR
in u->parse_header()
*) return NGX_HTTP_UPSTREAM_INVALID_HEADER instead of NGX_HTTP_BAD_GATEWAY
to go to a next upstream on invalid_header condition
*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
this fixes fastcgi_catch_stderr segfault
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
ngx_http_upstream_hide_headers_hash()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 04 May 2008 09:29:43 +0000 |
parents | 68f30ab68bb7 |
children | f45cec1cd270 |
rev | line source |
---|---|
539 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
1136 | 7 #ifndef _NGX_MAIL_SSL_H_INCLUDED_ |
8 #define _NGX_MAIL_SSL_H_INCLUDED_ | |
539 | 9 |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
1136 | 13 #include <ngx_mail.h> |
539 | 14 |
15 | |
1136 | 16 #define NGX_MAIL_STARTTLS_OFF 0 |
17 #define NGX_MAIL_STARTTLS_ON 1 | |
18 #define NGX_MAIL_STARTTLS_ONLY 2 | |
583 | 19 |
20 | |
539 | 21 typedef struct { |
976 | 22 ngx_flag_t enable; |
23 | |
24 ngx_ssl_t ssl; | |
547 | 25 |
976 | 26 ngx_flag_t prefer_server_ciphers; |
27 ngx_flag_t starttls; | |
547 | 28 |
976 | 29 ngx_uint_t protocols; |
547 | 30 |
976 | 31 ssize_t builtin_session_cache; |
547 | 32 |
976 | 33 time_t session_timeout; |
573 | 34 |
976 | 35 ngx_str_t certificate; |
36 ngx_str_t certificate_key; | |
539 | 37 |
976 | 38 ngx_str_t ciphers; |
539 | 39 |
976 | 40 ngx_shm_zone_t *shm_zone; |
1136 | 41 } ngx_mail_ssl_conf_t; |
539 | 42 |
43 | |
1136 | 44 extern ngx_module_t ngx_mail_ssl_module; |
539 | 45 |
46 | |
1136 | 47 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */ |