Mercurial > hg > nginx-mail
annotate src/event/ngx_event_openssl.h @ 28:7ca9bdc82b3f NGINX_0_1_14
nginx 0.1.14
*) 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; bug 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 <http://sysoev.ru> |
---|---|
date | Tue, 18 Jan 2005 00:00:00 +0300 |
parents | 8b6db3bda591 |
children | 2879cd3a40cb |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_EVENT_OPENSSL_H_INCLUDED_ | |
8 #define _NGX_EVENT_OPENSSL_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 #include <openssl/ssl.h> | |
15 #include <openssl/err.h> | |
16 | |
17 | |
18 typedef struct { | |
19 SSL *ssl; | |
20 ngx_buf_t *buf; | |
22 | 21 ngx_event_handler_pt saved_read_handler; |
22 ngx_event_handler_pt saved_write_handler; | |
0 | 23 |
24 unsigned buffer:1; | |
25 unsigned no_rcv_shut:1; | |
26 unsigned no_send_shut:1; | |
22 | 27 unsigned shutdown_set:1; |
28 | 28 |
29 #if (NGX_DEBUG) | |
30 unsigned handshaked:1; | |
31 #endif | |
0 | 32 } ngx_ssl_t; |
33 | |
34 | |
35 typedef SSL_CTX ngx_ssl_ctx_t; | |
36 | |
37 | |
38 #define NGX_SSL_BUFFER 1 | |
39 | |
40 | |
41 #define NGX_SSL_BUFSIZE 16384 | |
42 | |
43 | |
44 ngx_int_t ngx_ssl_init(ngx_log_t *log); | |
45 ngx_int_t ngx_ssl_create_session(ngx_ssl_ctx_t *ctx, ngx_connection_t *c, | |
46 ngx_uint_t flags); | |
47 | |
48 #define ngx_ssl_handshake(c) NGX_OK | |
49 | |
18 | 50 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size); |
0 | 51 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, |
52 off_t limit); | |
53 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); | |
54 void ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, | |
55 char *fmt, ...); | |
56 | |
57 | |
58 #endif /* _NGX_EVENT_OPENSSL_H_INCLUDED_ */ |