diff options
author | Vladimir Homutov <vl@nginx.com> | 2015-05-14 18:54:27 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2015-05-14 18:54:27 +0300 |
commit | 4e83d3f7b5355b36c2d28cd77f4cfefe4521f3ee (patch) | |
tree | 12cd90b9d31e778033f96b30157e1f24764fdb91 /src/core/ngx_cycle.h | |
parent | 42c32b733b95e5e9ce9a627cdc19096c1c6f8e63 (diff) | |
download | nginx-4e83d3f7b5355b36c2d28cd77f4cfefe4521f3ee.tar.gz nginx-4e83d3f7b5355b36c2d28cd77f4cfefe4521f3ee.zip |
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.
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r-- | src/core/ngx_cycle.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |