This commit is contained in:
Ruslan Ermilov 2016-03-30 11:52:16 +03:00
parent dfbc51a8cc
commit 7ad57da598
43 changed files with 210 additions and 210 deletions

View File

@ -33,12 +33,12 @@ typedef struct {
static ngx_command_t ngx_errlog_commands[] = { static ngx_command_t ngx_errlog_commands[] = {
{ngx_string("error_log"), { ngx_string("error_log"),
NGX_MAIN_CONF|NGX_CONF_1MORE, NGX_MAIN_CONF|NGX_CONF_1MORE,
ngx_error_log, ngx_error_log,
0, 0,
0, 0,
NULL}, NULL },
ngx_null_command ngx_null_command
}; };

View File

@ -27,26 +27,26 @@ static ngx_str_t iocp_name = ngx_string("iocp");
static ngx_command_t ngx_iocp_commands[] = { static ngx_command_t ngx_iocp_commands[] = {
{ngx_string("iocp_threads"), { ngx_string("iocp_threads"),
NGX_EVENT_CONF|NGX_CONF_TAKE1, NGX_EVENT_CONF|NGX_CONF_TAKE1,
ngx_conf_set_num_slot, ngx_conf_set_num_slot,
0, 0,
offsetof(ngx_iocp_conf_t, threads), offsetof(ngx_iocp_conf_t, threads),
NULL}, NULL },
{ngx_string("post_acceptex"), { ngx_string("post_acceptex"),
NGX_EVENT_CONF|NGX_CONF_TAKE1, NGX_EVENT_CONF|NGX_CONF_TAKE1,
ngx_conf_set_num_slot, ngx_conf_set_num_slot,
0, 0,
offsetof(ngx_iocp_conf_t, post_acceptex), offsetof(ngx_iocp_conf_t, post_acceptex),
NULL}, NULL },
{ngx_string("acceptex_read"), { ngx_string("acceptex_read"),
NGX_EVENT_CONF|NGX_CONF_FLAG, NGX_EVENT_CONF|NGX_CONF_FLAG,
ngx_conf_set_flag_slot, ngx_conf_set_flag_slot,
0, 0,
offsetof(ngx_iocp_conf_t, acceptex_read), offsetof(ngx_iocp_conf_t, acceptex_read),
NULL}, NULL },
ngx_null_command ngx_null_command
}; };