Mercurial > hg > nginx-vendor-0-7
comparison src/event/ngx_event_openssl.c @ 18:6f8b0dc0f8dd NGINX_0_1_9
nginx 0.1.9
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; bug appeared in 0.1.8.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 8b6db3bda591 |
comparison
equal
deleted
inserted
replaced
17:9acb68bb0698 | 18:6f8b0dc0f8dd |
---|---|
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 #include <ngx_event.h> | 9 #include <ngx_event.h> |
10 | 10 |
11 | 11 |
12 static ngx_int_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size); | 12 static ssize_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size); |
13 | 13 |
14 | 14 |
15 ngx_int_t ngx_ssl_init(ngx_log_t *log) | 15 ngx_int_t ngx_ssl_init(ngx_log_t *log) |
16 { | 16 { |
17 SSL_library_init(); | 17 SSL_library_init(); |
56 | 56 |
57 return NGX_OK; | 57 return NGX_OK; |
58 } | 58 } |
59 | 59 |
60 | 60 |
61 ngx_int_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size) | 61 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size) |
62 { | 62 { |
63 int n, sslerr; | 63 int n, sslerr; |
64 ngx_err_t err; | 64 ngx_err_t err; |
65 char *handshake; | 65 char *handshake; |
66 | 66 |
237 | 237 |
238 return in; | 238 return in; |
239 } | 239 } |
240 | 240 |
241 | 241 |
242 static ngx_int_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size) | 242 static ssize_t ngx_ssl_write(ngx_connection_t *c, u_char *data, size_t size) |
243 { | 243 { |
244 int n, sslerr; | 244 int n, sslerr; |
245 ngx_err_t err; | 245 ngx_err_t err; |
246 char *handshake; | 246 char *handshake; |
247 | 247 |