Mercurial > hg > nginx-ranges
comparison src/event/ngx_event_openssl.h @ 126:df17fbafec8f NGINX_0_3_10
nginx 0.3.10
*) Change: the "valid_referers" directive and the "$invalid_referer"
variable were moved to the new ngx_http_referer_module from the
ngx_http_rewrite_module.
*) Change: the "$apache_bytes_sent" variable name was changed to
"$body_bytes_sent".
*) Feature: the "$sent_http_..." variables.
*) Feature: the "if" directive supports the "=" and "!=" operations.
*) Feature: the "proxy_pass" directive supports the HTTPS protocol.
*) Feature: the "proxy_set_body" directive.
*) Feature: the "post_action" directive.
*) Feature: the ngx_http_empty_gif_module.
*) Feature: the "worker_cpu_affinity" directive for Linux.
*) Bugfix: the "rewrite" directive did not unescape URI part in
redirect, now it is unescaped except the %00-%25 and %7F-%FF
characters.
*) Bugfix: nginx could not be built by the icc 9.0 compiler.
*) Bugfix: if the SSI was enabled for zero size static file, then the
chunked response was encoded incorrectly.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 15 Nov 2005 00:00:00 +0300 |
parents | 408f195b3482 |
children | 91372f004adf |
comparison
equal
deleted
inserted
replaced
125:97504de1f89e | 126:df17fbafec8f |
---|---|
44 unsigned no_wait_shutdown:1; | 44 unsigned no_wait_shutdown:1; |
45 unsigned no_send_shutdown:1; | 45 unsigned no_send_shutdown:1; |
46 } ngx_ssl_connection_t; | 46 } ngx_ssl_connection_t; |
47 | 47 |
48 | 48 |
49 #define ngx_ssl_session_t SSL_SESSION | |
50 | |
51 | |
49 #define NGX_SSL_SSLv2 2 | 52 #define NGX_SSL_SSLv2 2 |
50 #define NGX_SSL_SSLv3 4 | 53 #define NGX_SSL_SSLv3 4 |
51 #define NGX_SSL_TLSv1 8 | 54 #define NGX_SSL_TLSv1 8 |
52 | 55 |
53 | 56 |
54 #define NGX_SSL_BUFFER 1 | 57 #define NGX_SSL_BUFFER 1 |
58 #define NGX_SSL_CLIENT 2 | |
55 | 59 |
56 #define NGX_SSL_BUFSIZE 16384 | 60 #define NGX_SSL_BUFSIZE 16384 |
57 | 61 |
58 | 62 |
59 ngx_int_t ngx_ssl_init(ngx_log_t *log); | 63 ngx_int_t ngx_ssl_init(ngx_log_t *log); |
61 ngx_int_t ngx_ssl_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, | 65 ngx_int_t ngx_ssl_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, |
62 ngx_str_t *cert, ngx_str_t *key); | 66 ngx_str_t *cert, ngx_str_t *key); |
63 ngx_int_t ngx_ssl_generate_rsa512_key(ngx_ssl_t *ssl); | 67 ngx_int_t ngx_ssl_generate_rsa512_key(ngx_ssl_t *ssl); |
64 ngx_int_t ngx_ssl_create_connection(ngx_ssl_t *ssl, ngx_connection_t *c, | 68 ngx_int_t ngx_ssl_create_connection(ngx_ssl_t *ssl, ngx_connection_t *c, |
65 ngx_uint_t flags); | 69 ngx_uint_t flags); |
70 | |
71 ngx_int_t ngx_ssl_set_session(ngx_connection_t *c, ngx_ssl_session_t *session); | |
72 #define ngx_ssl_get_session(c) SSL_get1_session(c->ssl->connection) | |
73 #define ngx_ssl_free_session SSL_SESSION_free | |
74 | |
66 ngx_int_t ngx_ssl_handshake(ngx_connection_t *c); | 75 ngx_int_t ngx_ssl_handshake(ngx_connection_t *c); |
67 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size); | 76 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size); |
68 ssize_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size); | 77 ssize_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size); |
78 ssize_t ngx_ssl_recv_chain(ngx_connection_t *c, ngx_chain_t *cl); | |
69 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, | 79 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, |
70 off_t limit); | 80 off_t limit); |
71 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); | 81 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); |
72 void ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, | 82 void ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, |
73 char *fmt, ...); | 83 char *fmt, ...); |