Mercurial > hg > nginx-ranges
annotate src/event/ngx_event_openssl.h @ 30:e1ada20fc595 NGINX_0_1_15
nginx 0.1.15
*) Bugfix: the error while the connecting to the FastCGI server caused
segmentation fault.
*) Bugfix: the correct handling of the regular expression, that has
different number of the captures and substitutions.
*) Feature: the location, that is passed to the FastCGI server, can be
regular expression.
*) Bugfix: the FastCGI's parameter REQUEST_URI is now passed with the
arguments and in the original state.
*) Bugfix: the ngx_http_rewrite_module module was required to be built
to use the regular expressions in locations.
*) Bugfix: the directive "proxy_preserve_host on" adds port 80 to the
"Host" headers, if upstream listen on port 80; bug appeared in
0.1.14.
*) Bugfix: the same paths in autoconfiguration parameters
--http-client-body-temp-path=PATH and --http-proxy-temp-path=PATH,
or --http-client-body-temp-path=PATH and
--http-fastcgi-temp-path=PATH caused segmentation fault.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 19 Jan 2005 00:00:00 +0300 |
parents | 7ca9bdc82b3f |
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_ */ |