Mercurial > hg > nginx
comparison src/event/ngx_event_openssl.c @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) 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; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | a88a3e4e158f |
children | 8e8f3af115b5 |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
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 |