Mercurial > hg > nginx
diff src/http/ngx_http_core_module.h @ 523:2019117e6b38 release-0.1.36
nginx-0.1.36-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 15 Jun 2005 18:33:41 +0000 |
parents | 6f00349b98e5 |
children | 7fa11e5c6e96 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h Tue Jun 07 15:56:31 2005 +0000 +++ b/src/http/ngx_http_core_module.h Wed Jun 15 18:33:41 2005 +0000 @@ -14,13 +14,30 @@ typedef struct { + unsigned default_server:1; + unsigned bind:1; + + int backlog; + +#if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) + char *accept_filter; +#endif +#if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) + ngx_uint_t deferred_accept; +#endif + +} ngx_http_listen_conf_t; + + +typedef struct { in_addr_t addr; in_port_t port; int family; + ngx_str_t file_name; ngx_int_t line; - ngx_uint_t default_server; /* unsigned default_server:1; */ + ngx_http_listen_conf_t conf; } ngx_http_listen_t; @@ -83,7 +100,6 @@ ngx_bufs_t large_client_header_buffers; - ngx_msec_t post_accept_timeout; ngx_msec_t client_header_timeout; ngx_uint_t restrict_host_names; @@ -111,7 +127,7 @@ /* the default server configuration for this address:port */ ngx_http_core_srv_conf_t *core_srv_conf; - ngx_uint_t default_server; /* unsigned default_server:1; */ + ngx_http_listen_conf_t conf; };