From 4e83d3f7b5355b36c2d28cd77f4cfefe4521f3ee Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Thu, 14 May 2015 18:54:27 +0300 Subject: Core: store and dump processed configuration. If the -T option is passed, additionally to configuration test, configuration files are output to stdout. In the debug mode, configuration files are kept in memory and can be accessed using a debugger. --- src/core/ngx_cycle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ngx_cycle.h') diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h index c601ea133..b77c1093f 100644 --- a/src/core/ngx_cycle.h +++ b/src/core/ngx_cycle.h @@ -52,6 +52,7 @@ struct ngx_cycle_s { ngx_array_t listening; ngx_array_t paths; + ngx_array_t config_dump; ngx_list_t open_files; ngx_list_t shared_memory; @@ -124,6 +125,7 @@ extern volatile ngx_cycle_t *ngx_cycle; extern ngx_array_t ngx_old_cycles; extern ngx_module_t ngx_core_module; extern ngx_uint_t ngx_test_config; +extern ngx_uint_t ngx_dump_config; extern ngx_uint_t ngx_quiet_mode; -- cgit