aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-06-15 18:33:41 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-06-15 18:33:41 +0000
commitb145b067e296fd0c72d764e36db7a97102045b2c (patch)
tree1604c71100a9ea0dc0be0f848ed7ed9dc7108843 /src/core/nginx.c
parente08f105e27475ea77f5ceb39fc76d9cb2ba078d1 (diff)
downloadnginx-release-0.1.36.tar.gz
nginx-release-0.1.36.zip
nginx-0.1.36-RELEASE importrelease-0.1.36
*) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 4a01acdd0..d04d95499 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -301,6 +301,8 @@ ngx_add_inherited_sockets(ngx_cycle_t *cycle)
return NGX_ERROR;
}
+ ngx_memzero(ls, sizeof(ngx_listening_t));
+
ls->fd = (ngx_socket_t) s;
}
}