diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-09-06 16:09:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-09-06 16:09:32 +0000 |
commit | ceb992921cee6f76d1752af2d388ee6a1d71e078 (patch) | |
tree | 2b4916a12d02210134939b7fb388a270e76002fa /src/imap/ngx_imap.h | |
parent | 5650106a09de8e8d876ed38fbff57b2161d910c4 (diff) | |
download | nginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.tar.gz nginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.zip |
nginx-0.1.44-RELEASE importrelease-0.1.44
*) Feature: the IMAP/POP3 proxy supports SSL.
*) Feature: the "proxy_timeout" directive of the ngx_imap_proxy_module.
*) Feature: the "userid_mark" directive.
*) Feature: the $remote_user variable value is determined independently
of authorization use.
Diffstat (limited to 'src/imap/ngx_imap.h')
-rw-r--r-- | src/imap/ngx_imap.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/imap/ngx_imap.h b/src/imap/ngx_imap.h index 8a506db64..5e037743b 100644 --- a/src/imap/ngx_imap.h +++ b/src/imap/ngx_imap.h @@ -13,6 +13,11 @@ #include <ngx_event.h> #include <ngx_event_connect.h> +#if (NGX_IMAP_SSL) +#include <ngx_imap_ssl_module.h> +#endif + + typedef struct { void **main_conf; @@ -32,7 +37,6 @@ typedef struct { ngx_msec_t timeout; size_t imap_client_buffer_size; - size_t proxy_buffer_size; ngx_uint_t protocol; @@ -82,8 +86,8 @@ typedef struct { ngx_connection_t *connection; - ngx_buf_t *buffer; ngx_str_t out; + ngx_buf_t *buffer; void **ctx; void **main_conf; @@ -93,6 +97,8 @@ typedef struct { ngx_uint_t imap_state; + unsigned blocked:1; + unsigned quit:1; unsigned protocol:1; unsigned quoted:1; @@ -100,6 +106,7 @@ typedef struct { ngx_str_t passwd; ngx_str_t tag; + ngx_str_t tagged_line; ngx_uint_t command; ngx_array_t args; @@ -167,6 +174,7 @@ typedef struct { void ngx_imap_init_connection(ngx_connection_t *c); +void ngx_imap_send(ngx_event_t *wev); void ngx_imap_auth_state(ngx_event_t *rev); void ngx_pop3_auth_state(ngx_event_t *rev); void ngx_imap_close_connection(ngx_connection_t *c); |