@@ -1030,6 +1030,13 @@ ngx_http_lua_create_main_conf(ngx_conf_t *cf)
1030
1030
* lmcf->shm_zones = NULL;
1031
1031
* lmcf->init_handler = NULL;
1032
1032
* 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;
1033
1040
* lmcf->shm_zones_inited = 0;
1034
1041
* lmcf->shdict_zones = NULL;
1035
1042
* lmcf->preload_hooks = NULL;
@@ -1197,6 +1204,11 @@ ngx_http_lua_create_srv_conf(ngx_conf_t *cf)
1197
1204
* lscf->srv.ssl_sess_fetch_chunkname = NULL;
1198
1205
* lscf->srv.ssl_sess_fetch_src_key = NULL;
1199
1206
*
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
+ *
1200
1212
* lscf->balancer.original_init_upstream = NULL;
1201
1213
* lscf->balancer.original_init_peer = NULL;
1202
1214
* lscf->balancer.handler = NULL;
@@ -1212,6 +1224,7 @@ ngx_http_lua_create_srv_conf(ngx_conf_t *cf)
1212
1224
lscf -> srv .ssl_sess_fetch_src_ref = LUA_REFNIL ;
1213
1225
#endif
1214
1226
1227
+ lscf -> srv .server_rewrite_src_ref = LUA_REFNIL ;
1215
1228
lscf -> balancer .src_ref = LUA_REFNIL ;
1216
1229
lscf -> balancer .max_cached = NGX_CONF_UNSET_UINT ;
1217
1230
return lscf ;
@@ -1387,25 +1400,33 @@ ngx_http_lua_create_loc_conf(ngx_conf_t *cf)
1387
1400
/* set by ngx_pcalloc:
1388
1401
* conf->access_src = {{ 0, NULL }, NULL, NULL, NULL};
1389
1402
* conf->access_src_key = NULL
1403
+ * conf->access_handler = NULL;
1404
+ * conf->access_chunkname = NULL;
1405
+ *
1390
1406
* conf->rewrite_src = {{ 0, NULL }, NULL, NULL, NULL};
1391
1407
* conf->rewrite_src_key = NULL;
1392
1408
* conf->rewrite_handler = NULL;
1409
+ * conf->rewrite_chunkname = NULL;
1393
1410
*
1394
1411
* conf->content_src = {{ 0, NULL }, NULL, NULL, NULL};
1395
1412
* conf->content_src_key = NULL;
1396
1413
* conf->content_handler = NULL;
1414
+ * conf->content_chunkname = NULL;
1397
1415
*
1398
1416
* conf->log_src = {{ 0, NULL }, NULL, NULL, NULL};
1399
1417
* conf->log_src_key = NULL;
1400
1418
* conf->log_handler = NULL;
1419
+ * conf->log_chunkname = NULL;
1401
1420
*
1402
1421
* conf->header_filter_src = {{ 0, NULL }, NULL, NULL, NULL};
1403
1422
* conf->header_filter_src_key = NULL;
1404
1423
* conf->header_filter_handler = NULL;
1424
+ * conf->header_filter_chunkname = NULL;
1405
1425
*
1406
1426
* conf->body_filter_src = {{ 0, NULL }, NULL, NULL, NULL};
1407
1427
* conf->body_filter_src_key = NULL;
1408
1428
* conf->body_filter_handler = NULL;
1429
+ * conf->body_filter_chunkname = NULL;
1409
1430
*
1410
1431
* conf->ssl = 0;
1411
1432
* conf->ssl_protocols = 0;
0 commit comments