Mercurial > hg > nginx-ranges
annotate src/event/ngx_event_openssl.h @ 36:a39d1b793287 NGINX_0_1_18
nginx 0.1.18
*) Workaround: the default values of the devpoll_events and the
devpoll_changes directives changed from 512 to 32 to be compatible
with Solaris 10.
*) Bugfix: the proxy_set_x_var and fastcgi_set_var directives were not
inherited.
*) Bugfix: in the redirect rewrite directive the arguments were
concatenated with URI by the "&" rather than the "?".
*) Bugfix: the lines without trailing ";" in the file being included by
the ngx_http_geo_module were silently ignored.
*) Feature: the ngx_http_stub_status_module.
*) Bugfix: the unknown log format in the access_log directive caused
the segmentation fault.
*) Feature: the new "document_root" parameter of the fastcgi_params
directive.
*) Feature: the fastcgi_redirect_errors directive.
*) Feature: the new "break" modifier of the "rewrite" directive allows
to stop the rewrite/location cycle and sets the current
configuration to the request.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 09 Feb 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_ */ |