From 9fa5a823c467c8ba13f8edff3c7d3c6dc75ea1d4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 30 Sep 2005 14:41:25 +0000 Subject: nginx-0.2.2-RELEASE import *) Feature: the "config errmsg" command of the ngx_http_ssi_module. *) Change: the ngx_http_geo_module variables can be overridden by the "set" directive. *) Feature: the "ssl_protocols" and "ssl_prefer_server_ciphers" directives of the ngx_http_ssl_module and ngx_imap_ssl_module. *) Bugfix: the ngx_http_autoindex_module did not show correctly the long file names; *) Bugfix: the ngx_http_autoindex_module now do not show the files starting by dot. *) Bugfix: if the SSL handshake failed then another connection may be closed too. Thanks to Rob Mueller. *) Bugfix: the export versions of MSIE 5.x could not connect via HTTPS. --- src/core/nginx.h | 2 +- src/core/ngx_connection.h | 4 ++-- src/core/ngx_core.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/nginx.h b/src/core/nginx.h index 6468b9479..d4c1cd680 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -8,7 +8,7 @@ #define _NGINX_H_INCLUDED_ -#define NGINX_VER "nginx/0.2.1" +#define NGINX_VER "nginx/0.2.2" #define NGINX_VAR "NGINX" #define NGX_OLDPID_EXT ".oldbin" diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index e13f2857f..e5df4372f 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -28,7 +28,7 @@ struct ngx_listening_s { int backlog; /* handler of accepted connection */ - void (*handler)(ngx_connection_t *c); + ngx_connection_handler_pt handler; void *ctx; /* ngx_http_conf_ctx_t, for example */ void *servers; /* array of ngx_http_in_addr_t, for example */ @@ -118,7 +118,7 @@ struct ngx_connection_s { ngx_str_t addr_text; #if (NGX_OPENSSL) - ngx_ssl_t *ssl; + ngx_ssl_connection_t *ssl; #endif #if (NGX_HAVE_IOCP) diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index 9646f6c06..a32733996 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -23,7 +23,7 @@ typedef struct ngx_peers_s ngx_peers_t; typedef struct ngx_connection_s ngx_connection_t; typedef void (*ngx_event_handler_pt)(ngx_event_t *ev); - +typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #define NGX_OK 0 -- cgit v1.2.3