aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/nginx.c4
-rw-r--r--src/core/nginx.h2
-rw-r--r--src/core/ngx_connection.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index a59e4d6f3..78e3caa3c 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -236,6 +236,10 @@ main(int argc, char *const *argv)
#else
+ if (ngx_init_signals(cycle->log) == NGX_ERROR) {
+ return 1;
+ }
+
if (!ngx_inherited && ccf->daemon) {
if (ngx_daemon(cycle->log) == NGX_ERROR) {
return 1;
diff --git a/src/core/nginx.h b/src/core/nginx.h
index d58f6086d..a24f88360 100644
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -8,7 +8,7 @@
#define _NGINX_H_INCLUDED_
-#define NGINX_VER "nginx/0.1.43"
+#define NGINX_VER "nginx/0.1.44"
#define NGINX_VAR "NGINX"
#define NGX_NEWPID_EXT ".newbin"
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 6dd191938..3c280bded 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -92,6 +92,7 @@ struct ngx_connection_s {
ngx_socket_t fd;
ngx_recv_pt recv;
+ ngx_send_pt send;
ngx_send_chain_pt send_chain;
ngx_listening_t *listening;