Mercurial > hg > nginx
view src/imap/ngx_imap.h @ 479:c52408583801 release-0.1.14
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 18 Jan 2005 13:03:58 +0000 |
parents | 42d11f017717 |
children | 6f00349b98e5 |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_IMAP_H_INCLUDED_ #define _NGX_IMAP_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_event_connect.h> typedef struct { ngx_peer_connection_t upstream; ngx_buf_t *buffer; } ngx_imap_proxy_ctx_t; typedef enum { ngx_pop3_start = 0, ngx_pop3_user } ngx_imap_state_e; typedef struct { uint32_t signature; /* "IMAP" */ ngx_connection_t *connection; ngx_buf_t *buffer; ngx_imap_state_e imap_state; ngx_imap_proxy_ctx_t *proxy; ngx_str_t login; ngx_str_t passwd; ngx_uint_t command; ngx_array_t args; /* used to parse IMAP/POP3 command */ ngx_uint_t state; u_char *arg_start; u_char *arg_end; } ngx_imap_session_t; #define NGX_POP3_USER 1 #define NGX_POP3_PASS 2 #define NGX_POP3_APOP 3 #define NGX_POP3_STAT 4 #define NGX_POP3_LIST 5 #define NGX_POP3_RETR 6 #define NGX_POP3_DELE 7 #define NGX_POP3_NOOP 8 #define NGX_POP3_RSET 9 #define NGX_POP3_TOP 10 #define NGX_POP3_UIDL 11 #define NGX_POP3_QUIT 12 #define NGX_IMAP_PARSE_INVALID_COMMAND 10 #define NGX_IMAP_PROXY_INVALID 10 #define NGX_IMAP_PROXY_ERROR 11 #define NGX_IMAP_MODULE 0x50414D49 /* "IMAP" */ #define NGX_IMAP_SRV_CONF 0x02000000 #define NGX_IMAP_IMAP_CONF 0x04000000 #define NGX_IMAP_POP3_CONF 0x08000000 void ngx_imap_init_connection(ngx_connection_t *c); void ngx_imap_close_connection(ngx_connection_t *c); void ngx_imap_proxy_init(ngx_imap_session_t *s); ngx_int_t ngx_pop3_parse_command(ngx_imap_session_t *s); #endif /* _NGX_IMAP_H_INCLUDED_ */