view src/imap/ngx_imap_ssl_module.h @ 168:3314be145cb9 NGINX_0_3_31

nginx 0.3.31 *) Change: now nginx passes the malformed proxied backend responses. *) Feature: the "listen" directives support the address in the "*:port" form. *) Feature: the EVFILER_TIMER support in MacOSX 10.4. *) Workaround: for MacOSX 64-bit kernel kqueue millisecond timeout bug. Thanks to Andrei Nigmatulin. *) Bugfix: if there were several "listen" directives listening one various addresses inside one server, then server names like "*.domain.tld" worked for first address only; bug appeared in 0.3.18. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive and the request body was in temporarily file then the request was not transferred. *) Bugfix: perl 5.8.8 compatibility.
author Igor Sysoev <http://sysoev.ru>
date Fri, 10 Mar 2006 00:00:00 +0300
parents 91372f004adf
children 29a6403156b0
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_IMAP_SSL_H_INCLUDED_
#define _NGX_IMAP_SSL_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_imap.h>


#define NGX_IMAP_STARTTLS_OFF   0
#define NGX_IMAP_STARTTLS_ON    1
#define NGX_IMAP_STARTTLS_ONLY  2


typedef struct {
    ngx_flag_t      enable;

    ngx_ssl_t       ssl;

    ngx_flag_t      prefer_server_ciphers;
    ngx_flag_t      starttls;

    ngx_uint_t      protocols;

    time_t          session_timeout;

    ngx_str_t       certificate;
    ngx_str_t       certificate_key;

    ngx_str_t       ciphers;

} ngx_imap_ssl_conf_t;


extern ngx_module_t  ngx_imap_ssl_module;


#endif /* _NGX_IMAP_SSL_H_INCLUDED_ */