comparison src/event/ngx_event_openssl.h @ 38:2879cd3a40cb NGINX_0_1_19

nginx 0.1.19 *) Bugfix: now, if request contains the zero, then the 404 error is returned for the local requests. *) Bugfix: nginx could not be built on NetBSD 2.0. *) Bugfix: the timeout may occur while reading of the the client request body via SSL connections.
author Igor Sysoev <http://sysoev.ru>
date Wed, 16 Feb 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children b55cbf18157e
comparison
equal deleted inserted replaced
37:3376a7dea5d6 38:2879cd3a40cb
15 #include <openssl/err.h> 15 #include <openssl/err.h>
16 16
17 17
18 typedef struct { 18 typedef struct {
19 SSL *ssl; 19 SSL *ssl;
20 ngx_int_t last;
20 ngx_buf_t *buf; 21 ngx_buf_t *buf;
21 ngx_event_handler_pt saved_read_handler; 22 ngx_event_handler_pt saved_read_handler;
22 ngx_event_handler_pt saved_write_handler; 23 ngx_event_handler_pt saved_write_handler;
23 24
24 unsigned buffer:1; 25 unsigned buffer:1;
47 48
48 #define ngx_ssl_handshake(c) NGX_OK 49 #define ngx_ssl_handshake(c) NGX_OK
49 50
50 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size); 51 ssize_t ngx_ssl_recv(ngx_connection_t *c, u_char *buf, size_t size);
51 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, 52 ngx_chain_t *ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in,
52 off_t limit); 53 off_t limit);
53 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); 54 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 void ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
55 char *fmt, ...); 56 char *fmt, ...);
56 57
57 58
58 #endif /* _NGX_EVENT_OPENSSL_H_INCLUDED_ */ 59 #endif /* _NGX_EVENT_OPENSSL_H_INCLUDED_ */