mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Style.
This commit is contained in:
parent
dfbc51a8cc
commit
7ad57da598
@ -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
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user