Skip to content

Commit bf94a7a

Browse files
authored
chore: code style consistency.
1 parent 02b5e49 commit bf94a7a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/ngx_http_lua_module.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,13 @@ ngx_http_lua_create_main_conf(ngx_conf_t *cf)
10301030
* lmcf->shm_zones = NULL;
10311031
* lmcf->init_handler = NULL;
10321032
* lmcf->init_src = { 0, NULL };
1033+
* lmcf->init_chunkname = NULL;
1034+
* lmcf->init_worker_handler = NULL;
1035+
* lmcf->init_worker_src = { 0, NULL };
1036+
* lmcf->init_worker_chunkname = NULL;
1037+
* lmcf->exit_worker_handler = NULL;
1038+
* lmcf->exit_worker_src = { 0, NULL };
1039+
* lmcf->exit_worker_chunkname = NULL;
10331040
* lmcf->shm_zones_inited = 0;
10341041
* lmcf->shdict_zones = NULL;
10351042
* lmcf->preload_hooks = NULL;
@@ -1197,6 +1204,11 @@ ngx_http_lua_create_srv_conf(ngx_conf_t *cf)
11971204
* lscf->srv.ssl_sess_fetch_chunkname = NULL;
11981205
* lscf->srv.ssl_sess_fetch_src_key = NULL;
11991206
*
1207+
* lscf->srv.server_rewrite_handler = NULL;
1208+
* lscf->srv.server_rewrite_src = { 0, NULL };
1209+
* lscf->srv.server_rewrite_chunkname = NULL;
1210+
* lscf->srv.server_rewrite_src_key = NULL;
1211+
*
12001212
* lscf->balancer.original_init_upstream = NULL;
12011213
* lscf->balancer.original_init_peer = NULL;
12021214
* lscf->balancer.handler = NULL;
@@ -1212,6 +1224,7 @@ ngx_http_lua_create_srv_conf(ngx_conf_t *cf)
12121224
lscf->srv.ssl_sess_fetch_src_ref = LUA_REFNIL;
12131225
#endif
12141226

1227+
lscf->srv.server_rewrite_src_ref = LUA_REFNIL;
12151228
lscf->balancer.src_ref = LUA_REFNIL;
12161229
lscf->balancer.max_cached = NGX_CONF_UNSET_UINT;
12171230
return lscf;
@@ -1387,25 +1400,33 @@ ngx_http_lua_create_loc_conf(ngx_conf_t *cf)
13871400
/* set by ngx_pcalloc:
13881401
* conf->access_src = {{ 0, NULL }, NULL, NULL, NULL};
13891402
* conf->access_src_key = NULL
1403+
* conf->access_handler = NULL;
1404+
* conf->access_chunkname = NULL;
1405+
*
13901406
* conf->rewrite_src = {{ 0, NULL }, NULL, NULL, NULL};
13911407
* conf->rewrite_src_key = NULL;
13921408
* conf->rewrite_handler = NULL;
1409+
* conf->rewrite_chunkname = NULL;
13931410
*
13941411
* conf->content_src = {{ 0, NULL }, NULL, NULL, NULL};
13951412
* conf->content_src_key = NULL;
13961413
* conf->content_handler = NULL;
1414+
* conf->content_chunkname = NULL;
13971415
*
13981416
* conf->log_src = {{ 0, NULL }, NULL, NULL, NULL};
13991417
* conf->log_src_key = NULL;
14001418
* conf->log_handler = NULL;
1419+
* conf->log_chunkname = NULL;
14011420
*
14021421
* conf->header_filter_src = {{ 0, NULL }, NULL, NULL, NULL};
14031422
* conf->header_filter_src_key = NULL;
14041423
* conf->header_filter_handler = NULL;
1424+
* conf->header_filter_chunkname = NULL;
14051425
*
14061426
* conf->body_filter_src = {{ 0, NULL }, NULL, NULL, NULL};
14071427
* conf->body_filter_src_key = NULL;
14081428
* conf->body_filter_handler = NULL;
1429+
* conf->body_filter_chunkname = NULL;
14091430
*
14101431
* conf->ssl = 0;
14111432
* conf->ssl_protocols = 0;

0 commit comments

Comments
 (0)