diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/nginx.h | 2 | ||||
-rw-r--r-- | src/core/ngx_connection.h | 4 | ||||
-rw-r--r-- | src/core/ngx_core.h | 2 |
3 files changed, 4 insertions, 4 deletions
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 |